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.
Called by the framework when the user selects an item in the drop-down menu.
virtual BOOL OnClickMenuItem();
Return Value
FALSE if the framework should continue the default menu item processing; otherwise TRUE. The default implementation always returns FALSE.
Remarks
When the user clicks a menu item, the framework executes a command that is associated with that item.
To customize the menu item processing, override OnClickMenuItem in a class derived from CMFCToolBarMenuButton class. You must also override CFrameWndEx::OnShowPopupMenu and replace the menu buttons that require special processing with instances of the derived class.
Requirements
Header: afxtoolbarmenubutton.h