|
Post by staticelectricity on Feb 19, 2023 20:20:59 GMT
Is there any way to change the focus of the active window? I'm using the SHELL command with a jpg file, SHELL "SomePic.jpg" for example. Windows treats it as known valid file type and pops open its Photos viewer. But after the delay has ended it switches back to QB64. I do NOT have this problem when SHELLing a "TextFile.txt". In that case it does not return to QB64 until the Notepad is closed
I used _SCREENHIDE with a delay before _SCREENSHOW but I really want the focus to stay on the Photos app until it is closed with the [ESC] key
Any suggestions?
|
|