共用方式為


COleControlContainer::BroadcastAmbientPropertyChange

Informs all hosted controls that an ambient property has changed.

virtual void BroadcastAmbientPropertyChange( 
DISPID dispid 
);

Parameters

  • dispid
    The dispatch ID of the ambient property being changed.

Remarks

This function is called by the framework when an ambient property has changed value. Override this function to customize this behavior.

Requirements

Header: afxocc.h

See Also

Concepts

COleControlContainer Class

COleControlContainer Members

Hierarchy Chart

COleControl::OnAmbientPropertyChange