共用方式為


CComControlBase::m_bUIActive

Flag indicating the control's user interface, such as menus and toolbars, is active.

unsigned m_bUIActive:1;

Remarks

The m_bInPlaceActive flag indicates that the control is active, but not that its user interface is active.

注意

To use this data member within your control class, you must declare it as a data member in your control class. Your control class will not inherit this data member from the base class because it is declared within a union in the base class.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

CComControlBase::m_bInPlaceActive

Other Resources

CComControlBase Members