06-18-2017, 09:56 AM
QUESTION 1
Is this correct code to check if a window has no maximizebox (top right)?
(Got the style from here: https://msdn.microsoft.com/en-us/librar ... 00(v=vs.85).aspx)
Macro Macro11
QUESTION 2
Is it possible to check if the desktop on the MAIN monitor is visible?
Some applications and games go full screen and cover the full monitor.
I want to check if the main monitor is fully covered by an application.
I have this which is easily generated through Windows, controls
Macro Macro11
This might not be best approach, maybe better to get X Y width height:
Macro Macro12
And then check if that area is covered 100%, but how do proceed with that?
Is this correct code to check if a window has no maximizebox (top right)?
(Got the style from here: https://msdn.microsoft.com/en-us/librar ... 00(v=vs.85).aspx)
Quote:WS_MAXIMIZEBOX
0x00010000L
The window has a maximize button. Cannot be combined with the WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified.
Macro Macro11
QUESTION 2
Is it possible to check if the desktop on the MAIN monitor is visible?
Some applications and games go full screen and cover the full monitor.
I want to check if the main monitor is fully covered by an application.
I have this which is easily generated through Windows, controls
Macro Macro11
int w2=win("Program Manager" "Progman")
if !IsWindowVisible(w2)
,out "Desktop is not visible..."
Macro Macro12
And then check if that area is covered 100%, but how do proceed with that?