Dela via


CMFCPopupMenu::GetMenuBar

Returns the CMFCPopupMenuBar embedded inside the pop-up menu.

virtual CMFCPopupMenuBar* GetMenuBar();

Return Value

A pointer to the embedded CMFCPopupMenuBar.

Remarks

The pop-up menu has an embedded CMFCPopupMenuBar object. You must override this method in a derived class if you are using a different embedded class.

Requirements

Header: afxpopupmenu.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCPopupMenu Class

CMFCPopupMenuBar Class