This method advises or unadvises all controls hosted by the composite control. The base implementation of this function searches through the entries in the event sink map. It then advises or unadvises the connection points to the COM objects described by the event sink map's sink entries. This method also relies on the fact that the derived class inherits from one instance of IDispEventImpl for every control in the sink map that is to be advised or unadvised.
At a Glance
Header file: | Atlcom.h |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
Syntax
HRESULT AdviseSinkMap( bool bAdvise );