IAdviseSinkEx  4D2Q0H_

The IAdviseSinkEx 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.

Methods in Vtable Order

IUnknown1NEM0LU Methods

Description

QueryInterface2Y54585

Returns pointers to supported interfaces.

AddRef1SHW0SS

Increments reference count.

ReleaseDUW01A

Decrements reference count.

 

IAdviseSink3F9W.KC Methods

Description

OnDataChangeRBSVUI

Advises that data has changed.

OnViewChange11_6YI7

Advises that view of object has changed.

OnRename4.U2Y5P

Advises that name of object has changed.

OnSaveUEGG9W

Advises that object has been saved to disk.

OnCloseRFOKVA

Advises that object has been closed.

 

IAdviseSinkEx Methods

Description

OnViewStatusChangeK.7F67

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

 

See Also

IAdviseSink, IViewObject::SetAdvise