Ets_Gui_Update_Events_Flush()
Note: Requires OPNET Development Kit
Abstract
Flushes all outstanding window update (draw) events from the event queue.
Syntax
Ets_Gui_Update_Events_Flush ()
| Argument | Type | Description |
|---|---|---|
| no arguments |
Return Type
void
No return value.
Header
ets_api_gui.h
Details
When part of a dialog box needs to be redrawn, an event gets queued. These events sit in the queue until the code returns to the event loop (so that objects aren't repeatedly redrawn). If a lot of processing is done without returning to the event loop, then this function can be used to purge all the draw events so that the display doesn't get stale (with blank patches, etc.). However, click events, key events, and other events that result in actions (that is, code that modifies objects) are not taken out of the queue and processed.