ProcessDialogEvent

Far Manager

ProcessDialogEvent

The ProcessDialogEvent function informs plugins about different dialog events.
int WINAPI ProcessDialogEvent(
  int Event,
  void *Param
);

Parameters

Event
Event type.
Can be one of the following values (DIALOG_EVENTS enum):
EventDescription
DE_DLGPROCINIT Event was sent to the dialog handler.
Param - pointer to the FarDialogEvent structure.
DE_DEFDLGPROCINIT Event was sent to the internal dialog handler.
Param - pointer to the FarDialogEvent structure.
DE_DLGPROCEND Dialog handler processed the event. FarDialogEvent.Result contains the dialog handler return value.
Param - pointer to the FarDialogEvent structure.
Param
Pointer to the FarDialogEvent structure.

Return value

TRUE - the event was processed internally. FarDialogEvent.Result will be used as dialog handler return value.
FALSE - the event should be processed by the internal handler of the Dialog API kernel.

Remarks

See also: