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

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

Returns
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.

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