Share via


CFrameImpl::GetMenuBar

Returns a pointer to the menu bar that belongs to the associated frame window.

const CMFCMenuBar* GetMenuBar() const;
CMFCMenuBar* GetMenuBar();

Return Value

A pointer to the menu bar associated with the parent frame window.

Remarks

This function is used internally by the framework.

Requirements

Header: afxframeimpl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CFrameImpl Class