Udostępnij za pośrednictwem


BEGIN_CONNECTION_MAP

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 )

Parameters

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

  • theBase
    Specifies the name of the base class of theClass.

Remarks

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.

Requirements

Header: afxdisp.h

See Also

Concepts

MFC Macros and Globals

Reference

BEGIN_CONNECTION_PART

DECLARE_CONNECTION_MAP