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.
Called by the framework when the user selects a menu that has a tear-off bar.
virtual BOOL OnTearOffMenu(
CMFCPopupMenu* pMenuPopup,
CPane* pBar
);
Parameters
[in] pMenuPopup
A pointer to the pop-up menu that the user selected.[in] pBar
A pointer to the pane that hosts the menu.
Return Value
TRUE if you want the framework to activate the pop-up menu; otherwise FALSE. The default value is TRUE.
Remarks
Override this function if you want to customize the setup of the tear-off bar.
Requirements
Header: afxoleipframewndex.h