We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


Use the BEGIN_CONNECTION_PART macro to begin the definition of additional connection points beyond the event and property notification connection points.

BEGIN_CONNECTION_PART(theClass, localClass )


Specifies the name of the control class whose connection point this is.


Specifies the name of the local class that implements the connection point.

In the declaration (.h) file that defines the member functions for your class, start the connection point with the BEGIN_CONNECTION_PART macro, then add the CONNECTION_IID macro and any other member functions you wish to implement, and complete the connection point map with the END_CONNECTION_PART macro.

Header: afxdisp.h