Share via


CHotKeyCtrl::SetHotKey

voidSetHotKey(WORDwVirtualKeyCode**,WORDwModifiers);**

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. For more information on the modifier flags, see GetHotKey.

Remarks

Call this function to set the hot key combination for a hot key control.

CHotKeyCtrl OverviewClass MembersHierarchy Chart

See Also   CHotKeyCtrl::GetHotKey