Keeping Focus of a Window

Blitz3D Forums/Blitz3D Programming/Keeping Focus of a Window

Hi JFK,

thanks for the tip... unfortunately I can't get it to go back into focus. I can move my window around no problem (so i know the command works), but even so it stays deactivated.

I've found this in the forums as well, as an "unstick" function:

SetWindowPos (GetActiveWindow (), HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE Or SWP_NOMOVE)

So obviously it works for others - no idea why it doesn't for me. Will keep trying, but if you have ideas, please let me know.

Thanks again!