Ets_Ctl_Table_Column_Max_Width_Compute()

Note: Requires OPNET Development Kit

Abstract

Determines the width of the longest cell in a table column.

Syntax

Ets_Ctl_Table_Column_Max_Width_Compute (table_ctl_ptr, column, all_rows)
Argument Type Description
table_ctl_ptr EtsT_Ctl * Table control of interest.
column int Column of interest.
all_rows int If TRUE, all rows are examined for width. Otherwise, only the first few rows are examined (see Details).

Return Type

int

Maximum column width found, or -1 if an error occurs (table_ctl_ptr does not point to a table or the table display procedures are not set).

ets_api_gui.h

Details

If all_rows is not TRUE, this function examines the column width of only the first 30 rows. For long tables, this provides a value more quickly, but it may not be the actual maximum value.

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