Share via


CMFCPopupMenu::GetParentPopupMenu

Returns a pointer to the parent pop-up menu.

CMFCPopupMenu* GetParentPopupMenu() const;

Return Value

A pointer to the parent CMFCPopupMenu object; NULL if there is no parent pop-up menu.

Remarks

A pop-up menu has a parent CMFCPopupMenu object only if it is a submenu.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart