IViewObjectExImpl::SetAdvise

HRESULT SetAdvise( DWORD aspects, DWORD advf, IAdviseSink* pAdvSink );

See IViewObject::SetAdvise in the Win32 SDK.

Remarks

Sets up a connection between the control and an advise sink so that the sink can be notified about changes in the control's view. The pointer to the IAdviseSink interface on the advise sink is stored in the control class data member m_spAdviseSink.

IViewObjectExImpl OverviewClass Members

See Also   IViewObjectExImpl::GetAdvise