Поделиться через


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 )

Параметры

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

  • theBase
    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

См. также

Основные понятия

MFC Macros and Globals

BEGIN_CONNECTION_PART

DECLARE_CONNECTION_MAP