CMFCRibbonBaseElement::GetParentWnd

Retrieves the parent window for the ribbon element.

virtual CWnd* GetParentWnd() const;

Return Value

A pointer to the parent window for the ribbon element if the method was successful; otherwise, NULL.

Remarks

The parent window for a ribbon element is a CMFCRibbonBar Class or a CMFCRibbonPanelMenuBar Class.

Requirements

Header: afxbaseribbonelement.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBaseElement Class