CComControl::m_bEnabled

BOOL m_bEnabled;

Remarks

The data member in your control class that flags whether the control is enabled. The m_bInPlaceActive flag indicates the control is in-place active, while the m_bUIActive flag indicates the control's user interface (menus and toolbars) is also active.

If you choose the ENABLED option from the Stock Properties tab in the ATL Object Wizard, the wizard automatically creates this data member in your control class, creates put and get methods for the property, and supports IPropertyNotifySink to automatically notify the container when the property changes.

CComControl OverviewClass Members