Concept Framework 1.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: Thu Oct 15 20:02:00 2009 GMT(c)2009 RadGs Software