Share via


CMFCToolBarMenuButton::IsExclusive

Indicates whether the button is in exclusive mode.

virtual BOOL IsExclusive() const;

Return Value

TRUE if the button is working in exclusive mode; otherwise FALSE.

Remarks

When a user opens a popup menu for a button and then moves the mouse pointer over another toolbar or menu button, the popup menu closes unless the button is in exclusive mode.

The default implementation always returns FALSE. Override this method in a derived class if you want to turn on exclusive mode.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarMenuButton Class