共用方式為


COleControl::OnAmbientPropertyChange

Called by the framework when an ambient property of the container has changed value.

virtual void OnAmbientPropertyChange(
   DISPID dispid 
);

Parameters

  • dispID
    The dispatch ID of the ambient property that changed, or DISPID_UNKNOWN if multiple properties have changed.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::GetAmbientProperty