void MLoopWhileFlag (int *pflag, int value)

Transfers control temporarily to a MGUI event loop handler

Documentation

Transfers control temporarily to a MGUI event loop handler. This function acts exactly as mainLoop while the value of the integer pointed to by 'pflag' equals 'value'. When such values differ, the function returns control to the calling program. The main purpose of this function is to provide a way to stop the program flow, allowing event processing, and then to resume it after a particular condition occurs (*pflag becomes different from 'value'). Many utility dialogs provided by MGUI use this function to stop execution and return to the calling program when the desired user input is available (See MMessageDialog, MFileSelection, MInputPrompt, MTextPrompt

See Also:
MNextEvent, MProcessEvent, MLoopWhileEvents, MMmainLoop

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++