共用方式為


CMFCKeyMapDialog::FormatItem

Called by the framework to build a string that describes a key mapping. By default, the string contains the command name, the shortcut keys used, and the shortcut key description.

virtual CString FormatItem(
   int nItem 
) const;

Parameters

  • [in] nItem
    The zero-based index of an item in the internal list of key mappings.

Return Value

A CString object that contains the formatted item text.

Requirements

Header: afxkeymapdialog.h

See Also

Reference

CMFCKeyMapDialog Class

Hierarchy Chart