company logo

5. Event handlers - GUI context event handlers

Context event handlers can be provided as overloaded functions within a user-defined context class in order to handle any type of context event. Context events are generated immediately for many GUI events and are passed to the context class in order to handle the event.

Event handler return an error code (iExecutionError), which is true (1) in case of error, false (0) when being successful or -1 in order to indicate, that the handler was not executed.

Functions