Is _WINDOWHANDLE working properly?
#9
Yes I'm using the current version of QB64PE, and yes I get the same values running your code as posted (which is using _DELAY).  Here's the output

0
0
800
600
263499      263499

And here's what I get when running that but using _SCREENEXIST instead of _DELAY.

0
0
640
400
460002      460002

So it looks like _WINDOWHANDLE is working either way, but for some reason the API doesn't take it without a delay?  I dunno. It should return 800x600 too but isn't.

- Dav

Find my programs here in Dav's QB64 Corner
Reply


Messages In This Thread
RE: Is _WINDOWHANDLE working properly? - by Dav - 08-17-2023, 08:53 PM
RE: Is _WINDOWHANDLE working properly? - by Dav - 08-17-2023, 09:37 PM
RE: Is _WINDOWHANDLE working properly? - by Dav - 08-17-2023, 10:09 PM
RE: Is _WINDOWHANDLE working properly? - by Dav - 08-18-2023, 01:14 PM
RE: Is _WINDOWHANDLE working properly? - by Dav - 08-18-2023, 03:29 PM
RE: Is _WINDOWHANDLE working properly? - by Dav - 08-18-2023, 04:47 PM



Users browsing this thread: 6 Guest(s)