06-05-2024, 09:57 PM
Just a head's up for everyone. I've just spent an hour cursing at my code until I figured out what was going on.
SCREEN _NEWIMAGE(640, 480, 32)
hWnd&& = _WINDOWHANDLE
The above code will not return the correct window handle.
SCREEN _NEWIMAGE(640, 480, 32)
_DELAY .25
hWnd&& = _WINDOWHANDLE
This code above will. Very frustrating.
SCREEN _NEWIMAGE(640, 480, 32)
hWnd&& = _WINDOWHANDLE
The above code will not return the correct window handle.
SCREEN _NEWIMAGE(640, 480, 32)
_DELAY .25
hWnd&& = _WINDOWHANDLE
This code above will. Very frustrating.