void MNextEvent (MEvent *pe, int wait)

Retrieves next available MGUI event waiting for it if desired

Documentation

Retrieves next available MGUI event waiting for it if desired. The event is returned in the buffer pointed to by 'pe'. This structure must be allocated by the calling function. The second argument specifies, with a boolean value, whether the caller wants to wait for an event or not. If no pending event is found and 'wait' equals 0, the function returns immediately and sets the 'type' field of the MEvent structure to E_NO_EVENT.
See Also:
MProcessEvent, MLoopWhileEvents, MLoopWhileFlag, MMainLoop

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++