CComControlBase::m_spOleAdviseHolder

 

Provides a standard implementation of a way to hold advisory connections.

Syntax

CComPtr<IOleAdviseHolder> m_spOleAdviseHolder;

Remarks

Note

To use this data member within your control class, you must declare it as a data member in your control class. Your control class will not inherit this data member from the base class because it is declared within a union in the base class.

The interface m_spOleAdviseHolder implements the IOleObject::Advise and IOleObject::Unadvise methods to establish and delete advisory connections to the container. The control's container must implement an advise sink by supporting the IAdviseSink interface.

Requirements

Header: atlctl.h

See Also

CComControlBase Class
CComPtr Class