Compartir a través de


CComControlBase::m_spOleAdviseHolder

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

CComPtr<IOleAdviseHolder> m_spOleAdviseHolder;

Remarks

Nota

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

Reference

CComControlBase Class

CComPtr Class

Other Resources

CComControlBase Members