To get extended error information, call GetLastError. If the function fails, the return value is zero. If the function succeeds, the return value is nonzero. Keyboard shortcuts that involve the WINDOWS key are reserved for use by the operating system. These keys are labeled with the Windows logo. Windows Vista: This flag is not supported.Įither WINDOWS key was held down. ValueĬhanges the hotkey behavior so that the keyboard auto-repeat does not yield multiple hotkey notifications. The fsModifiers parameter can be a combination of the following values. UVirtKey parameter in order to generate the WM_HOTKEY message. The keys that must be pressed in combination with the key specified by the If a hot key already exists with the same hWnd and id parameters, see Remarks for the action taken. If the hWnd parameter is NULL, then the hot key is associated with the current thread rather than with a particular window. If this parameter is NULL, WM_HOTKEY messages are posted to the message queue of the calling thread and must be processed in the message loop. Syntax BOOL RegisterHotKey(Ī handle to the window that will receive WM_HOTKEY messages generated by the hot key.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |