BCGControlBar Pro for MFC
virtual CString CBCGPKeyMapDlg::FormatItem ( int  nItem) const

Called by the framework when it needs to format a key(s) associated with a command to the text string.

A CString object that contains the formatted item text.

This function is called by the framework to format a key. The default implementation builds a string that contains the command name, the keys and the description associated with the key/command.

Override the FormatItem member function in a CBCGPKeyMapDlg - derived class to customize this behavior.

nItemThe index of item to format in the internal CListCtrl control.