BCGControlBar Pro for MFC
virtual BOOL CBCGPMDIFrameWnd::OnTearOffMenu ( CBCGPPopupMenu ,
CBCGPControlBar  
)
inlinevirtual

Called by the framework when a menu with tear-off bar is being activated.

Returns

It should be nonzero to allow the popup menu with the tear-off bar to be activated; otherwise 0.

The default implementation returns nonzero value.

Override this function when you need a special setup for the tear-off bar. The default implementation does nothing.