Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a pointer to the parent toolbar button.
CMFCToolBarMenuButton* GetParentButton() const;
Return Value
A pointer to the parent toolbar button. NULL if the pop-up menu has no parent toolbar button.
Remarks
A CMFCPopupMenu can be associated with a button on the menu. In this scenario, the pop-up menu appears when a user selects the parent toolbar button.
If the pop-up menu is a shortcut menu, it will have no parent toolbar button.
Requirements
Header: afxpopupmenu.h