description | title | ms.date | helpviewer_keywords | ms.assetid | |||
---|---|---|---|---|---|---|---|
Learn more about: Setting a Hot Key |
Setting a Hot Key |
11/04/2016 |
|
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.