Share via


CMFCDropDownFrame::GetParentPopupMenu

Retrieves the parent pop-up menu of the drop-down frame.

CMFCDropDownFrame* GetParentPopupMenu() const;

Return Value

A pointer to the parent drop-down menu of the drop-down frame, or NULL if the frame has no parent.

Remarks

This method retrieves the parent menu from the parent button. This method returns NULL if the drop-down frame has no parent button or the parent button has no parent menu.

Requirements

Header: afxdropdowntoolbar.h

See Also

Reference

CMFCDropDownFrame Class

Hierarchy Chart

CMFCMenuBar Class