Set Global Hotkey State (restore from minimize)
ASTER::ACTION::hWnd::Configure the Global Hotkey Flag
Enables or disables restoring the window from a minimized state via the Global Hotkey.
* By default, the flag state is false, so the hotkey does not function.
Parameter
Int Value
1
0- Any
non-zeroinput value is interpreted astrue.
Note: About the registered hotkey
Since
ASTER rev.1.0.7, the hotkeyAlt + F10has been registered for restoring a minimized window.
Alt + F10is unassigned in VS Code / VS2022, so conflicts are rare, making it a safe choice.
-
No global hook is used
The processing is completed within WndProc. -
The hotkey press is detected even in minimized state
Pressing it follows the OS standard sequence (WM_SYSCOMMAND: SC_RESTORE) to restore. -
Upon completion of restore (
WM_SIZE: SIZE_RESTORED), the hotkey is released
It is also automatically released when the application exits