Dela 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

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonPanel Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.