This topic has not yet been rated - Rate this topic

CONNECTION_PART

Maps a connection point for your OLE control to a specific interface ID.

CONNECTION_PART(theClass, iid, localClass )

Parameters

theClass
Specifies the name of the control class whose connection point this is.
iid
The interface ID of the interface called by the connection point.
localClass
Specifies the name of the local class that implements the connection point.

Remarks

For example:

BEGIN_CONNECTION_MAP(CSampleCtrl, COleControl)
    CONNECTION_PART(CSampleCtrl, IID_ISinkInterface, MyConnPt)
END_CONNECTION_MAP()

implements a connection map, with a connection point, that calls the IID_ISinkInterface interface .

See Also

MFC Macros and Globals | BEGIN_CONNECTION_PART | DECLARE_CONNECTION_MAP | BEGIN_CONNECTION_MAP | CONNECTION_IID

Did you find this helpful?
(1500 characters remaining)