Share via


COleIPFrameWndEx::GetMenuBar

Returns a pointer to the menu bar object attached to the frame window.

const CMFCMenuBar* GetMenuBar() const;

Return Value

A pointer to the menu bar object.

Remarks

Use this function to retrieve a pointer to the menu bar object that belongs to the COleIPFrameWndEx object.

Requirements

Header: afxoleipframewndex.h

See Also

Concepts

MFC Hierarchy Chart

Reference

COleIPFrameWndEx Class