다음을 통해 공유


CComControlBase::m_spOleAdviseHolder

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

CComPtr<IOleAdviseHolder> m_spOleAdviseHolder;

Remarks

참고

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

Concepts

CComControlBase Class

CComControlBase Members

CComPtr Class