SINK_ENTRY
Visual Studio .NET 2003
Declares the handler function (fn) for the specified event (dispid), of the control identified by id.
SINK_ENTRY( id, dispid, fn )
Parameters
- id
- [in] Identifies the control.
- dispid
- [in] Identifies the specified event.
- fn
- [in] Name of the event handler function. This function must use the _stdcall calling convention and have the appropriate dispinterface-style signature.
Example
BEGIN_SINK_MAP(CMyObj) SINK_ENTRY(IDC_CIRCCTL1, DISPID_CLICK, OnClick_CircCtrl1) SINK_ENTRY(IDC_CIRCCTL2, DISPID_CLICK, OnClick_CircCtrl2) END_SINK_MAP()
See Also
Composite Control Macros | ATL Macros | Composite Control Fundamentals | BEGIN_SINK_MAP | SINK_ENTRY_EX