CFrameWndEx::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 attached to the frame window.

Requirements

Header: afxframewndex.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CFrameWndEx Class