Added window_set_topmost, published code
Window Commands for GameMaker » Devlog
This function does what you would get when using “Let the game window always stay on top” Global Game Settings option or window_set_stayontop function in older versions of GameMaker. In GameMaker: Studio it had been deprecated and there were seemingly no extensions to do this? Strange for something that is one line of WINAPI code,
SetWindowPos(hwnd, stayontop ? HWND_TOPMOST : HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
Also published the extension's source code: https://bitbucket.org/yal_cc/window_commands
Files
window_command_hook.gmez 41 kB
Feb 27, 2018
window_command_hook.gmz 582 kB
Feb 27, 2018
Get Window Commands for GameMaker
Download NowName your own price
Window Commands for GameMaker
Check/disable/dispatch window commands in GameMaker
Status | Released |
Category | Assets |
Author | YellowAfterlife |
Tags | extension, GameMaker |
More posts
- A few more functions and a fixJun 05, 2024
- x64 support, general rewriteSep 17, 2022
- Added window_set_visible_wFeb 21, 2021
- Added window_set_taskbar_button_visibleSep 01, 2019
Comments
Log in with itch.io to leave a comment.
Instantly solved my problems. I'm developing a program that needs it's window to stay on top to work. Very simple and works perfectly. Thank you.