共用方式為


CMFCKeyMapDialog::GetCommandKeys

Retrieves a string value. The string contains a list of shortcut keys that are associated with a specified command.

virtual CString GetCommandKeys(
   UINT uiCmdID 
) const;

Parameters

  • [in] uiCmdID
    A command ID.

Return Value

A semicolon-delimited (';') list of shortcut keys that is associated with the specified command.

Requirements

Header: afxkeymapdialog.h

See Also

Reference

CMFCKeyMapDialog Class

Hierarchy Chart