共用方式為


IOleControlImpl::OnAmbientPropertyChange

Informs a control that one or more of the container's ambient properties has changed.

HRESULT OnAmbientPropertyChange( 
   DISPID dispid  
);

Return Value

Returns S_OK.

Remarks

See IOleControl::OnAmbientPropertyChange in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IOleControlImpl Class