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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com