Ets_Progress_Bar_Lock()

Abstract

Locks the behavior of a progress bar.

Syntax

Ets_Progress_Bar_Lock (lock_options)
Argument Type Description
lock_options int Options controlling the progress bar (see Details)

Return Type

void

No return value.

ets_api_pbar.h

Details

Note: This function is part of the original progress bar API (release 10.5 and earlier) and should not be used with multiple progress bars.

This function locks the behavior of the progress bar even across returns to the main event loop. Locks can be nested, but only the options of the outer-most lock will be in effect. With no options, the progress bar is kept open once it is opened until the final unlock. The available options are:

  • ETSC_PROGRESS_BAR_LOCK_OPT_NONE
  • ETSC_PROGRESS_BAR_LOCK_OPT_USE_MESSAGE_BAR—The progress bar window will not be opened, but the titles will be displayed in the editor's message bar.
  • ETSC_PROGRESS_BAR_LOCK_OPT_DONT_SHOW—The progress bar will be visually suppressed until unlocked, but other visual updates will still be handled.
  • ETSC_PROGRESS_BAR_LOCK_OPT_DONT_HANDLE_UPDATES—Graphical update events will not be handled until unlocked.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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