Ets_Dbox_State_Set()

Note: Requires OPNET Development Kit

Abstract

Sets a dialog box's state pointer.

Syntax

Ets_Dbox_State_Set (ets_dbox_ptr, state_ptr)
Argument Type Description
ets_dbox_ptr EtsT_Dbox * pointer to an ETS dialog box
state_ptr void * pointer to arbitrary data

Return Type

EtsT_Compcode

EtsC_Compcode_Failure if ets_dbox_ptr is invalid; otherwise EtsC_Compcode_Success.

ets_api_gui.h

Details

Set the state pointer of the specified dialog box to the given value; this value may later be retrieved by calling Ets_Dbox_State_Get() for the dialog box. This allows arbitrary states to be associated with a dialog box.

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