void MLoopWhileEvents (int discard)

Processes all pending events and then returns

Documentation

Processes all pending events and then returns. The argument 'discard' is a bolean value specifying whether the function has to discard all pending events or process them normally. It's highly recommended not to discard events. The main purpose of this function is to provide a way to poll for MGUI events, allowing event processing. This function is useful if your application has its own event loop and wants to process MGUI events without blocking into the MGUI loop.
See Also:
MNextEvent, MProcessEvent, MLoopWhileFlag, MMainLoop

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++