共用方式為


CWindow::GetHotKey

Determines the hot key associated with the window by sending a WM_GETHOTKEY message.

DWORD GetHotKey( ) const throw();

Return Value

The virtual key code and modifiers for the hot key associated with the window. For a list of possible modifiers, see WM_GETHOTKEY in the Windows SDK. For a list of of standard virtual key codes, see Winuser.h.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::SetHotKey

Other Resources

CWindow Members