IAdviseSink::OnViewChange
Notifies an
object s registered advise sinks that its view has changed.
Void OnViewChange(
DWORD dwAspect, |
//Value specifying aspect of object |
LONG lindex |
//Currently must be -1 |
); |
|
Parameters
dwAspect
[in] The
aspect, or view, of the object. Contains a value taken from the enumeration, DVASPECT
lindex
[in] The
portion of the view that has changed. Currently only -1 is valid.
Remarks
Containers
register to be notified when an object s view changes by calling IViewObject::SetAdvise
Even though DVASPECT
The lindex
member represents the part of the aspect that is of interest. The value of lindex
depends on the value of dwAspect. If dwAspect is either
DVASPECT_THUMBNAIL or DVASPECT_ICON, lindex is ignored. If dwAspect
is DVASPECT_CONTENT, lindex must be -1, which indicates that the entire
view is of interest and is the only value that is currently valid.
See Also