CWindow::SetHotKey

int SetHotKey( WORD wVirtualKeyCode, WORD wModifiers );

Return Value

For a list of possible return values, see WM_SETHOTKEY in the Win32 SDK.

Parameters

wVirtualKeyCode

[in] The virtual key code of the hot key.

wModifiers

[in] The modifiers of the hot key. For a list of possible values, see WM_SETHOTKEY in the Win32 SDK.

Remarks

Associates a hot key with the window by sending a WM_SETHOTKEY message.

CWindow OverviewClass Members

See Also   CWindow::GetHotKey