Export (0) Print
Expand All

IAdviseSinkEx interface

This interface is derived from IAdviseSink to provide extensions for notifying the sink of changes in an object's view status.

When to implement

Container applications and compound documents implement a site object with the IAdviseSinkEx interface to receive notification of changes in the view status of a contained object.

When to use

A contained object, such as a control, calls the method of IAdviseSinkEx to notify its container of changes in its view status.

To determine which interface the sink supports, an object must call QueryInterface using the pointer that was passed to IViewObject::SetAdvise.

Members

The IAdviseSinkEx interface inherits from IAdviseSink. IAdviseSinkEx also has these types of members:

Methods

The IAdviseSinkEx interface has these methods.

MethodDescription
OnViewStatusChange

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

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IAdviseSinkEx is defined as 3AF24290-0C96-11CE-A0CF-00AA00600AB8

See also

IAdviseSink
IViewObject::SetAdvise

 

 

Community Additions

ADD
Show:
© 2014 Microsoft