共用方式為


CComControlBase::m_bInPlaceActive

Flag indicating the control is in-place active.

unsigned m_bInPlaceActive:1;

Remarks

This means the control is visible and its window, if any, is visible, but its menus and toolbars may not be active. The m_bUIActive flag indicates the control's user interface, such as menus, is also 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_bUIActive

Other Resources

CComControlBase Members