displayAddEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[displayRemoveAllEventHandlers]], [[displayRemoveEventHandler]] |= SEEALSO  
| [[disableSerialization]], [[display]], [[displayRemoveAllEventHandlers]], [[displayRemoveEventHandler]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:21, 8 June 2009

Hover & click on the images for description

Description

Description:
Add an event handler to the given display. Returns id of the handler or -1 when failed.
Groups:
Uncategorised

Syntax

Syntax:
display displayAddEventHandler [handler name,function]
Parameters:
display: Display -
[handler name,function]: Array -
Return Value:
Number

Examples

Example 1:
(example)

Additional Information

See also:
disableSerializationdisplaydisplayRemoveAllEventHandlersdisplayRemoveEventHandler

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section