DWORD GetHotKey( ) const;
void GetHotKey( WORD &wVirtualKeyCode, WORD &wModifiers ) const;
Return Value
In the first usage above, a DWORD containing the virtual-key code and modifier flags. The low-order word is the virtual-key code, and the high-order word is the modifier flags. The HIWORD and LOWORD of this 32-bit value can be used as the parameters in the SetHotKey member function.
Parameters
wVirtualKeyCode
Virtual-key code of the hot key.
wModifiers
Modifier flags indicating the keys that, when used in combination with wVirtualKeyCode, define a hot key combination.
Remarks
Call this function to retrieve the virtual-key code and modifier flags of a hot key from a hot key control.
The modifier flags can be a combination of the following values:
CHotKeyCtrl Overview | Class Members | Hierarchy Chart
See Also CHotKeyCtrl::SetHotKey