Export (0) Print
Expand All
ATL
Expand Minimize

BEGIN_SINK_MAP 

Declares the beginning of the event sink map for the composite control.


BEGIN_SINK_MAP( _class )

Parameters

_class

[in] Specifies the control.

BEGIN_SINK_MAP(CMyObj)
   SINK_ENTRY(IDC_CIRCCTL1, DISPID_CLICK, OnClick_CircCtrl1)
   SINK_ENTRY(IDC_CIRCCTL2, DISPID_CLICK, OnClick_CircCtrl2)
END_SINK_MAP()

CE ATL implementation of ActiveX event sinks only supports return values of type HRESULT or void from your event handler methods; any other return value is unsupported and its behavior is undefined.

Community Additions

ADD
Show:
© 2014 Microsoft