3 ms·
To do what you want, you'd hook the windows resize messaging hooks, and override them. I'm not sure you can get the application to 'look' maximised though, as y
by Jaruzel 8y ago
To do what you want, you'd hook the windows resize messaging hooks, and override them. I'm not sure you can get the application to 'look' maximised though, as you'd probably have to abort the maximise event, and override with a resize to your constraints event.
Additionally, it's possible to lock the mouse inside a defined rectangle on the screen, using the Windows API.