Command
QisLib_SetProcessEvents Function: int QisLib_SetProcessEvents(int OnOff); Inputs: On/Off: _QIS_ON (On) or _QIS_OFF (Off) Return: success: 0 failure: one of the following values : Errors: -1: The program's application context passed to QisLib via QisLib_InitLib is NULL. Cannot turn on process events. -2: File open in progress, operation not permitted. Description: - While QisLib is busy doing something (e.g. opening a file, drawing, getting vectors, saving to a file, etc.), QisLib would need to process any events for the program so the program will be responsive to user input. e.g. User calling QisLib_Stop during a redraw. - If the program does not want QisLib to process events during a busy process, use this function to turn it off. - Default setting for Windows is on, default for Unix/Linux is on if a XtAppContext is passed to QisLib via the QisLib_InitLib function, it is off if XtAppContext is NULL. - For Unix/Linux, if XtAppContext is NULL, SetProcessEvents cannot be turned on, the function would return -1. - Otherwise, the state is set and the function returns 0 for success.References: QisLib_InitLib QisLib_Stop |