company logo

ProjectContext :: eventNotification - Event notification handler

The function returns true in order to continue handling the action or event by the context class handler or false for not calling appropriate context class function.

Return value:  State of function return ( bool  )

A State true indicates, that the function was executed successfully. Otherwise state is false.

Implementation details

bool ProjectContext  :: eventNotification ( odabagui::ControlContext &rControlContext, odaba::String &cActionName )

The event notification handler is called for events and actions supposed to be handled by GUI context classes, when event notification has been enabled (eventNotificationEnabled()). In this case, the event notification is passed to this handler ragardless whether the corresponding context class is implemented in the application or not.

Notes:

This function is supported in C++, only, i.e. in order to overload the function, a C++ class has to be implemented.

  • rControlContext - Control context

    ControlContext classes are created for field (ADK_Field) as well as for control (ADK_FieldControl) resources.

    When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).

  • cActionName - - internal feature (not documented)