Use _SCREENX and/or _SCREENY to check for a minimized window, they usually return -32000 then (at least on Windows)
However, I guess it won't work either with a hidden screen
Code: (Select All)
IF _SCREENX <> -32000 AND _SCREENY <> -32000 THEN
'not minimized
ELSE
'is minimized
END IF
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23