We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf7405d + 8f95efb commit dfdc815Copy full SHA for dfdc815
src/ManagedShell.Common/Helpers/WindowHelper.cs
@@ -109,7 +109,7 @@ public static void HideWindowFromTasks(IntPtr hWnd)
109
110
public static void ExcludeWindowFromPeek(IntPtr hWnd)
111
{
112
- int status = (int)DWMNCRENDERINGPOLICY.DWMNCRP_ENABLED;
+ int status = 1;
113
DwmSetWindowAttribute(hWnd,
114
DWMWINDOWATTRIBUTE.DWMWA_EXCLUDED_FROM_PEEK,
115
ref status,
0 commit comments