共用方式為


CMFCRibbonPanel::GetPreferedMenuLocation

Retrieves the preferred display rectangle for the pop-up menu of the ribbon panel.

virtual BOOL GetPreferedMenuLocation(
    CRect& rect
);

Parameters

  • [out] rect
    This parameter is not used.

Return Value

Always returns FALSE.

Remarks

This method always returns FALSE. Override this method to retrieve the preferred display rectangle for the pop-up menu of the ribbon panel.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart