Ets_Dbox_Child_Nth_Get()

Note: Requires OPNET Development Kit

Abstract

Retrieves a child of a dialog box.

Syntax

Ets_Dbox_Child_Nth_Get (ets_dbox_ptr, index)
Argument Type Description
ets_dbox_ptr EtsT_Dbox * Pointer to an ETS dialog box
index int Index of the desired child

Return Type

EtsT_Dbox *

Pointer to the specified child dialog box. The value is NULL if the index argument is out of range, or -1 if the ets_dbox_ptr argument is invalid.

ets_api_gui.h

Details

Given a dialog box, the function returns the child dialog as specified by the given index. This allows a function to iterate through all the children of a given dialog box. The number of children of a dialog box can be obtained by calling Ets_Dbox_Child_Count_Get(). If the index passed to this function is invalid (that is, less than zero or greater than or equal to the number of children), NULL is returned.

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