Function __getGuiEvt

au3Irr2

au3Irr2 Function Reference

__getGuiEvt

Helper function: returns value of $i_Element inside a GuiEvent-structure.

#Include <au3Irrlicht2.au3>
__getGuiEvt($p_GUIEvent, $i_Element = $EVT_GUI_IID)

 

Parameters

$p_GUIEvent A pointer as returned from _IrrReadGUIEvent.
$i_Element [optional] Event type to return:
$EVT_GUI_IID - ID of GUI element as integer
$EVT_GUI_IEVENT - Event type from enum $IRR_EGUI_EVENT_TYPE
$EVT_GUI_IX - X as integer
EVT_GUI_IY - Y as integer

 

Return Value

Success: Value of selected event type
Failure: Returns False and sets @error = 1

 

Remarks

[todo]

 

Related

_IrrReadGUIEvent