mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-01 04:30:49 +12:00
Allow borderless window to stay minimized
This commit is contained in:
parent
0b302b5761
commit
9c1dc84b1e
|
@ -70,7 +70,7 @@ public static void MakeWindowBorderless(IntPtr hWnd)
|
|||
windowStyle &= ~(
|
||||
WindowStyles.WS_CAPTION // The window has a title bar (includes the WS_BORDER style).
|
||||
| WindowStyles.WS_MAXIMIZEBOX // The window has a maximize button.
|
||||
| WindowStyles.WS_MINIMIZEBOX // The window has a minimize button.
|
||||
/*| WindowStyles.WS_MINIMIZEBOX // The window has a minimize button.*/
|
||||
| WindowStyles.WS_SYSMENU // The window has a window menu on its title bar.
|
||||
| WindowStyles.WS_THICKFRAME // The window has a sizing border. Same as the WS_SIZEBOX style.
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue