EtsT_Table_Display_Proc

Note: Requires OPNET Development Kit

Abstract

Callback: Used to return the text to display in a table cell or tooltip when it needs to be redrawn.

Syntax

<display_proc_name> (dbox_ptr, control_name, row, column, state_ptr)
Argument Type Description
dbox_ptr EtsT_Dbox * Dialog box containing the table of interest.
control_name const char * Name of the table control of interest.
row int Table row of cell to display.
column int Table column of cell to display.
state_ptr void * User-defined state information associated with the table.

Return Type

const char *

Text string to display in cell.

ets_api_gui.h

Details

The system will make a copy of the return string, so it should not be newly-allocated memory.

Callbacks of this type are associated with a table in op_etsed as ETS Display Proc and ETS Tooltip Proc.

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