Share via


CMFCDropDownFrame::GetParentMenuBar

Retrieves the parent menu bar of the drop-down frame.

CMFCMenuBar* GetParentMenuBar() const;

Return Value

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

Remarks

This method retrieves the parent menu bar 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 bar.

Requirements

Header: afxdropdowntoolbar.h

See Also

Reference

CMFCDropDownFrame Class

Hierarchy Chart

CMFCMenuBar Class