Dela via


CMFCRibbonPanel::CMFCRibbonPanel

Constructs and initializes a CMFCRibbonPanel object.

CMFCRibbonPanel(
    LPCTSTR lpszName = NULL,
    HICON hIcon = NULL
);
CMFCRibbonPanel(
    CMFCRibbonGallery* pPaletteButton
);

Parameters

  • [in] lpszName
    The name of the ribbon panel.

  • [in] hIcon
    Handle to the icon of the default button for the ribbon panel.

  • [in] pPaletteButton
    Pointer to a ribbon gallery for the ribbon panel.

Requirements

Header: afxRibbonPanel.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonPanel Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.