Compartilhar via


CMFCRibbonPanel::ShowPopup

Creates and displays a pop-up menu for the ribbon panel.

CMFCRibbonPanelMenu* ShowPopup(
   CMFCRibbonDefaultPanelButton* pButton = NULL
);

Parameters

  • [in] pButton
    Pointer to the default button for the ribbon panel.

Return Value

Pointer to the pop-up menu for the ribbon panel if the method was successful; otherwise NULL.

Remarks

The pop-up menu for the ribbon panel is only available when the display of the ribbon panel is collapsed.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart