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).
Header
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.