Possible bug with _SCREENICON
#1
Bug 
Code: (Select All)
_DELAY 2
_SCREENHIDE
_DELAY 5
' Error 5 after delay at line below...
IF _SCREENICON THEN BEEP ' Should beep with value -1 when minimized by _SCREENHIDE.
_SCREENSHOW

So I have done Win32 API min/restore with focus, but now I was looking for an all QB64 method. Since _SCREENHIDE is supposed minimize the program, it seems odd _SCREENICON should throw an error. It should return -1 when the window is minimized. If you REM out the SCREENHIDE and manually minimize, it works just fine, but apparently not when _SCREENHIDE minimizes the window for you.

QB64PE V 3.30 on Win 10 64-bit OS.


Pete
Reply


Messages In This Thread
Possible bug with _SCREENICON - by Pete - 12-08-2022, 09:16 PM
RE: Possible bug with _SCREENICON - by SMcNeill - 12-08-2022, 09:32 PM
RE: Possible bug with _SCREENICON - by SMcNeill - 12-08-2022, 09:34 PM
RE: Possible bug with _SCREENICON - by Pete - 12-08-2022, 10:52 PM
RE: Possible bug with _SCREENICON - by RhoSigma - 12-08-2022, 11:25 PM
RE: Possible bug with _SCREENICON - by mnrvovrfc - 12-09-2022, 05:34 AM
RE: Possible bug with _SCREENICON - by Pete - 12-09-2022, 12:45 AM
RE: Possible bug with _SCREENICON - by SMcNeill - 12-09-2022, 01:16 AM



Users browsing this thread: 3 Guest(s)