CMFCRibbonCustomizeDialog::CMFCRibbonCustomizeDialog

Constructs a CMFCRibbonCustomizeDialog object.

CMFCRibbonCustomizeDialog(
   CWnd* pWndParent,
   CMFCRibbonBar* pRibbon
);

Parameters

  • [in] pWndParent
    A pointer to the parent window (usually the main frame).

  • [in] pRibbon
    A pointer to the CMFCRibbonBar that is to be customized.

Example

The following example demonstrates how to construct a CMFCRibbonCustomizeDialog object.

    // CMFCRibbonBar m_wndRibbonBar
    // this points to CMainFrame
    CMFCRibbonCustomizeDialog* cDialog = new CMFCRibbonCustomizeDialog(this, &m_wndRibbonBar);

Remarks

The constructor instantiates a CMFCRibbonCustomizePropertyPage Class object and adds it to the collection of property sheet pages.

Requirements

Header: afxribboncustomizedialog.h

See Also

Reference

Hierarchy Chart

CMFCRibbonCustomizeDialog Class