This event occurs when an ActiveX control or COM object has fired an event. EVENT-DATA-2 contains the ActiveX control's or COM object's event ID. This is a numeric identifier that matches an EVENT phrase in the description of the class that generates the event. The ID may be positive or negative.
For ActiveX, two pairs of library routines, C$GETEVENTDATA / C$SETEVENTDATA and C$GETEVENTPARAM / C$SETEVENTPARAM are used to get and set event parameters for the current event. For COM, you must use the C$GETEVENTDATA / C$SETEVENTDATA routines to get and set event parameters.