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 a menu that has a tear-off bar is activated.
virtual BOOL OnTearOffMenu(
CMFCPopupMenu* pMenuPopup,
CPane* pBar
);
Parameters
[in] pMenuPopup
A pointer to the pop-up menu.[in] pBar
A pointer to the tear-off bar.
Return Value
TRUE to allow the pop-up menu with the tear-off bar to be made activate; otherwise FALSE. The default is TRUE.
Remarks
Override this function when you want to implement a special setup for the tear-off bar. The default implementation does nothing.
Requirements
Header: afxMDIFrameWndEx.h