| description | Learn more about: Setting a Hot Key | |||
|---|---|---|---|---|
| title | Setting a Hot Key | |||
| ms.date | 11/04/2016 | |||
| helpviewer_keywords |
|
|||
| ms.assetid | 6f3bc141-e346-4dce-9ca7-3e6b2c453f3f |
Your application can use the information provided by a hot key (CHotKeyCtrl) control in one of two ways:
-
Set up a global hot key for activating a nonchild window by sending a WM_SETHOTKEY message to the window to be activated.
-
Set up a thread-specific hot key by calling the Windows function RegisterHotKey.