IAdviseSinkEx::OnViewStatusChange

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 VIEWSTATUS 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.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IAdviseSink:OnViewChange, VIEWSTATUS