BCGControlBar Pro for MFC
virtual void CBCGPKeyMapDlg::OnInsertItem ( CBCGPToolbarButton pButton,
int  nItem 
)
protectedvirtual

Called by the framework when a new item is being inserted into the key map dialog's list control.

This function is called by the framework when a new item (a command key corresponding to pButton) is being inserted into the internal dialog's list control.

The default implementation obtains the command text, key and description from the pButton button and inserts it into internal list control at the nItem index.

Parameters
pButtonA pointer to a toolbar button whose command is being inserted.
nItemSpecifies the index in the internal CListCtrl where the item is being inserted.