IViewObjectExImpl::SetAdvise

This method 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 m_spAdviseSink data member.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

IViewObjectExImpl::GetAdvise