switching_20back_20from_20full-screen
This is an old revision of the document!
Switching back from full-screen
by Richard Russell, October 2013
The main Help documentation tells you how to switch to full-screen mode but it doesn't tell you how to switch back to a regular window if you need to. To do that you can use code similar to the following:
GWL_STYLE = -16 HWND_NOTOPMOST = -2 SWP_FRAMECHANGED = 32 SYS "SetWindowLong", @hwnd%, GWL_STYLE, &16CF0000 SYS "SetWindowPos", @hwnd%, HWND_NOTOPMOST, 100, 100, 800, 600, SWP_FRAMECHANGED VDU 26
The window position (100, 100) and size (800, 600) values can, of course, be different from those shown, as preferred.
switching_20back_20from_20full-screen.1522502385.txt.gz · Last modified: 2024/01/05 00:16 (external edit)