Compartilhar via


CMFCPopupMenu::GetParentToolBar

Returns a pointer to the parent toolbar.

CMFCToolBar* GetParentToolBar() const;

Return Value

A pointer to the parent toolbar. NULL if the pop-up menu has no parent toolbar.

Remarks

If the CMFCPopupMenu is a shortcut menu, then it has no parent toolbar.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart