IAdviseSinkEx::OnViewStatusChange  K6VV8P

Notifies the sink that a view status of an object has changed.

HRESULT OnViewStatusChange(

    DWORD dwViewStatus

//New view status

   );

 

 

Parameters

dwViewStatus

[in] New view status specified in VIEWSTATUSS4.G4L enumeration values.

 

Return Values

S_OK

The sink was successfully notified of the new view status

 

Remarks

It is important that objects call the IAdviseSink:OnViewChange method whenever the object s view changes even when the object is in place active. Containers rely on this notification to keep an object s view up-to-date.

See Also

IAdviseSink:OnViewChange, VIEWSTATUS