CMFCRibbonBaseElement::GetTopLevelRibbonBar
Retrieves the top level ribbon bar for the ribbon element.
CMFCRibbonBar* GetTopLevelRibbonBar() const;
Return Value
A pointer to the top level ribbon bar for the ribbon element if the method was successful; otherwise, NULL.
Requirements
Header: afxbaseribbonelement.h