company logo

BaseContext :: startProgress - Start progress display

The function is called in order to activate the progress display. In order to activate the application specific progress display, this function has to be overloaded in a user-defined context class which is typically assigned as application context to the process (Application::context()).

The string passed in sMessageTitle contains a short description of the running activity. The number of expected to be processed is passed in jMaximum64.

The way progress is displayed in console applications depends on option settings for SystemIO.Progress (see option reference).

In order to provide application specific progress display, the function may be overloaded in the application context.

Implementation details

BaseContext  :: startProgress ( odaba::String &sMessageTitle, int64 iMaximum64 )
  • sMessageTitle - Message Title

    When displaying the message in a dialog box the message title will be displayed in the title bar. The message title should refer in some way to the application the message applies on.

  • iMaximum64 - Maximum value

    The maximum value contains the maximum number allowed (e.g. as position in a file or area).