BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarMenuButton::IsExclusive ( ) const
inlinevirtual

Tells the framework whether a button is working in exclusive mode or not.

Returns
Nonzero if the button is working in exclusive mode; otherwise 0.

If a button is working in exclusive mode and this button opens a popup menu, then the popup menu is not closed when the user moves the mouse pointer over other toolbar or menu button.

Usually this method should be overridden in a derived from CBCGPToolbarMenuButton class.

The default implementation always returns FALSE.

Please see implementation of CUndoButton in BCGCBPVisualStudioGUIDemo example for more info.