共用方式為


DECLARE_CONNECTION_MAP

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

DECLARE_CONNECTION_MAP( )

Remarks

If your control supports additional points, use the DECLARE_CONNECTION_MAP macro at the end of your class declaration. Then, in the .cpp file that defines the member functions for the class, use the BEGIN_CONNECTION_MAP macro, CONNECTION_PART macros for each of the control's connection points, and the END_CONNECTION_MAP macro to declare the end of the connection map.

Requirements

Header: afxwin.h

See Also

Reference

BEGIN_CONNECTION_PART

BEGIN_CONNECTION_MAP

CONNECTION_IID

Concepts

MFC Macros and Globals