When I try to move my window(with a mouse) above my screen so that the title bar would be hidden windows will move it back. And If I try to rezise the window larger then the screen space, windows will resize it back to ‘fit’ the screen resolution. It seems that windows is sending a wm_move message if it does not like the size or position. Is there a way to prevent this?
It seems that I can call setwindowpos and place the window where ever I would like with what ever size I would like.
In Win32 land, you would handle
WM_MOVING,WM_SIZING, andWM_WINDOWPOSCHANGINGand turn them into a no-op. You would also probably want to handleWM_ENTERSIZEMOVEandWM_EXITSIZEMOVE.It’s actually quite annoying unless you are writing the app for yourself.