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

Reference

CMFCRibbonPanel Class

Hierarchy Chart