Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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