export.ProcessDialogEvent

LuaFAR 3

export.ProcessDialogEvent


ret = export.ProcessDialogEvent (Event, Param)

Parameters:
  Event:  integer
  Param:  table tFarDialogEvent
            hDlg   : userdata
            Msg    : integer
            Param1 : integer
            Param2 : depends on Msg

Returns:
  ret:    integer, or nil

Description:
  If ret is nil or false, then the event processing will continue.
  Otherwise, it is assumed that the plugin has processed the event, and ret
  will then be used as the return value of the dialog event handler.

Note:
  There is a group of drawing and coloring events that by default do not come
  to this function. See far.SubscribeDialogDrawEvents for the details.

Far API used:
  ProcessDialogEventW, ProcessDialogEventInfo, FarDialogEvent