共用方式為


Composite Control Macros

These macros define event sink maps and entries.

BEGIN_SINK_MAP

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

END_SINK_MAP

Marks the end of the event sink map for the composite control.

SINK_ENTRY

Entry to the event sink map.

SINK_ENTRY_EX

Entry to the event sink map with an additional parameter.

SINK_ENTRY_INFO

Entry to the event sink map with manually supplied type information for use with IDispEventSimpleImpl.

See Also

Concepts

ATL Macros

Composite Control Global Functions