Share via


CMFCKeyMapDialog::OnInsertItem

Called by the framework before a new item is inserted into an internal list control that supports the keyboard mapping control.

virtual void OnInsertItem(
   CMFCToolBarButton* pButton,
   int nItem 
);

Parameters

  • [in] pButton
    A pointer to a toolbar button that is used to map a keyboard key combination to a command name and description. The key map item is stored in an internal list control.

  • [in] nItem
    A zero-based index that specifies where to insert the new key map item in the internal list control.

Requirements

Header: afxkeymapdialog.h

See Also

Reference

CMFCKeyMapDialog Class

Hierarchy Chart