Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Each COleControl-derived class in your program can provide a connection map to specify connection points that your control will support.

BEGIN_CONNECTION_MAP(theClass, theBase )


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


Specifies the name of the base class of theClass.

In the implementation (.CPP) file that defines the member functions for your class, start the connection map with the BEGIN_CONNECTION_MAP macro, then add macro entries for each of your connection points using the CONNECTION_PART macro. Finally, complete the connection map with the END_CONNECTION_MAP macro.

Header: afxdisp.h

Community Additions

© 2015 Microsoft