Concept Framework 2.0 documentation Contents | Index

ActiveXControl.OnMappedAXEvent

Name Type Access Version Deprecated
OnMappedAXEvent event public version 1.0 no

Prototype:
OnMappedAXEvent(Sender, EventData)

Parameters:
Sender      the event firing control
EventData      contains the ID of the mapped event

Description:
Event fired when a mapped event is fired by the ActiveX control. For mapping an event one must call the AddEventID function.

NOTE: You are required to call the AknowledgeEvent if you know the parameters count of the ActiveX event, or more conveniently {ClearEvent}(if you don't know the number of parameters) at the end of your event handler.

The ActiveX event parameters can be obtained using the GetEventParameter function.

Returns:
This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:16 2011 GMT(c)2011 RadGs Software