Questions tagged [window-chrome]

57 questions
0
votes
0 answers

WPF window with custom WindowChrome maximizes differently

I have just started to use WindowChrome Class on a WPF window. I have noticed that when maximizing the window, it displays differently depending on whether I use the standard Chrome or the custom Chrome. Why? I am double clicking the top of the…
darbid
  • 2,545
  • 23
  • 55
0
votes
1 answer

How to access View-Propperties in the ViewModel, using Caliburn.Micro

Until now I only used the basic features of the Caliburn.Micro Framework. But now I want and need to to get deeper into it. Now I have the case that I need to access properties of the view (a Window) inside its view model. The details are the…
0
votes
1 answer

WindowChrome - too thick border for Windows 10

The problem is the border is too thick for Windows 10. If you don't see the screenshot below, then here's the text: This border is too thick at left, right and bottom Border is also brighter at those edges How to make a 1px border like Google…
0
votes
0 answers

Resize grips on borderless window with Monogame

I'm trying to create a custom window UI that replaces the default window trimmings with a constant GUI across platforms by switching the main window to borderless and making custom logic for the dragging of the title bar, the buttons, and other…
cjmarsh
  • 292
  • 2
  • 12
0
votes
0 answers

Custom Title Bar Buttons in WPF

I'm completely new to WPF, and am currently learning how to use styles and templates. Today, I saw many projects that can tweak the title bar of the window. Most of them probably tweaked the window chrome to achieve that effect. However, I'm trying…
0
votes
0 answers

Styling the "Header" of WPFMessageBox

i tried to use the Custom WPFMessageBox (wpfmessagebox.codeplex.com/) because i need to Style the MsgBox. I copied all files to my Projekt and added a Style to the Window
0
votes
1 answer

WindowStyle=None and window maximized hack not working with multiple monitors

I had a problem when the window style is none and the window is maximized that the window would cover the taskbar. I got a solution from here (I got the code from the source code not what he posted), and it works well except for one part. When you…
James Esh
  • 2,219
  • 1
  • 24
  • 41
0
votes
0 answers

Adding menus to custom window chrome

I have basically read all of the questions posted about the custom window chrome and I have come along a few libraries as well. Still I don't know what is the best solution for what I want to achieve. I want to remove the default chrome in .NET4…
Vahid
  • 5,144
  • 13
  • 70
  • 146
0
votes
1 answer

C++ Win32 Design my Window

Possible Duplicate: C++/WIN32 A professional looking application - is it really possible? I'm not talking about opening a resource file, (.rc) and make my buttons, and etc .. I'm talking about the look of the window itself — like the installer…
Idohadar
  • 1
  • 1
-1
votes
1 answer

How do you set WindowChrome.IsHitTestVisibleInChrome in specific button programatically?

I have a custom title bar and I used WindowChrome. In order to make the buttons clickable, I have to set WindowChrome.IsHitTestVisibleInChrome to true, that's simple on xaml.
-1
votes
1 answer

WPF - How to show controls on Title Bar preserving caption buttons

i want to make my app similar to Windows 10 Mail App: Here the image As seen in the image, the left panel is over title bar and even the middle one. But the Caption buttons are preserved. As my OS is Windows 11 , when I hover mouse over over middle…
-1
votes
1 answer

make custom window chrome with wpf

(this is a Q&A style question, I've answered it myself already) " I'm making a custom window chrome in wpf but when I set it to windowStyle=none it clips out of the window I cant drag the window and the window covers the taskbar "
1 2 3
4