共用方式為


CHotKeyCtrl::GetHotKeyName

Call this member function to get the localized name of the hot key.

CString GetHotKeyName( ) const;

Return Value

The localized name of the currently selected hot key. If there is no selected hot key, GetHotKeyName returns an empty string.

Remarks

The name that this member function returns comes from the keyboard driver. You can install a non-localized keyboard driver in a localized version of Windows, and vice versa.

Requirements

Header: afxcmn.h

See Also

Reference

CHotKeyCtrl Class

Hierarchy Chart

CHotKeyCtrl::GetKeyName

Other Resources

CHotKeyCtrl Members