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.
Copies text from the toolbar button to a menu.
virtual BOOL ExportToMenuButton(
CMFCToolBarMenuButton& menuButton
) const;
Parameters
- [in] menuButton
A reference to the target menu button.
Return Value
Nonzero if the method succeeds; otherwise 0.
Remarks
This method calls the base class implementation (CMFCToolBarButton::ExportToMenuButton) and then appends to the target menu button a pop-up menu that contains each toolbar menu item in this button. This method does not append sub-menus to the pop-up menu.
This method fails if the parent toolbar, m_pToolBar, is NULL or the base class implementation returns FALSE.
Requirements
Header: afxdropdowntoolbar.h