共用方式為


CMFCRibbonSeparator::AddToListBox

Adds a separator to the Commands list in the Customize dialog box.

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

Parameters

  • [in] pWndListBox
    A pointer to the Commands list where the separator is added.

  • [in] bDeep
    Ignored.

Return Value

Zero-based index to the string in the list box specified by pWndListBox.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

Hierarchy Chart

CMFCRibbonSeparator Class