IAdviseSinkEx::OnViewStatusChange method (ocidl.h)
Notifies the sink that a view status of an object has changed.
Syntax
void OnViewStatusChange(
[in] DWORD dwViewStatus
);
Parameters
[in] dwViewStatus
The new view status. Possible values are from the VIEWSTATUS enumeration.
Return value
This method returns S_OK on success.
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |