共用方式為


CComControlBase::GetAmbientUIDead

Retrieves DISPID_AMBIENT_UIDEAD, a flag indicating whether the container wants the control to respond to user-interface actions.

HRESULT GetAmbientUIDead(
   BOOL& bUIDead
);

Parameters

  • bUIDead
    The property DISPID_AMBIENT_UIDEAD.

Return Value

One of the standard HRESULT values.

Remarks

If TRUE, the control should not respond. This flag applies regardless of the DISPID_AMBIENT_USERMODE flag. See CComControlBase::GetAmbientUserMode.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members

CComControlBase Members