Share via


CMFCRibbonBaseElement::AddToListBox

Adds a ribbon element to the specified ribbon commands list box.

virtual int AddToListBox(
   CMFCRibbonCommandsListBox* pWndListBox,
   BOOL bDeep
);

Parameters

  • [in] pWndListBox
    Pointer to a commands list box.

  • [in] bDeep
    This parameter is not used.

Return Value

The zero-based index of the added ribbon element.

Remarks

The framework adds ribbon elements to a commands list box to enable the user to customize the user interface.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart