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.
1 parent e932ccc commit f8cb190Copy full SHA for f8cb190
Core.Window/ScreenCapture/ScreenCaptureByWGC.cs
@@ -77,13 +77,12 @@ public List<WindowInfo> GetAllWindowInfo()
77
{
78
continue;
79
}
80
- int style1= User32.GetWindowLong(currentHwnd,User32.WindowLongFlags.GWL_STYLE);
81
- if ( (style1 & (uint) User32.WindowStyles.WS_POPUP) != 0)
+ int style2 = User32.GetWindowLong(currentHwnd,User32.WindowLongFlags.GWL_EXSTYLE);
+ if ( (style2 & (int) User32.WindowStylesEx.WS_EX_NOACTIVATE) != 0)
82
83
84
85
- int style2 = User32.GetWindowLong(currentHwnd,User32.WindowLongFlags.GWL_EXSTYLE);
86
- if ( (style2 & (int) User32.WindowStylesEx.WS_EX_NOACTIVATE) != 0)
+ if ( (style2 & WS_EX_TOOLWINDOW) != 0)
87
88
89
0 commit comments