EtsT_Nt_Mouse_Coords_Display_Callback

Note: Requires OPNET Development Kit

Abstract

Callback: Used to customize the mouse coordinates display in the status bar.

Syntax

EtsT_Nt_Mouse_Coords_Display_Callback (subnet_handle, position_x, position_y, coords_display_buffer, buffer_len)
Argument Type Description
subnet_handle EtsT_Obj_Handle Currently displayed subnet.
position_x double X position of the mouse, in subnet coordinate units.
position_y double Y position of the mouse, in subnet coordinate units.
coords_display_buffer char * Memory to hold a string that will be displayed in the mouse coordinates area of the status bar.
buffer_len int Size of coords_display_buffer (including terminating null).

Return Type

void

No return value.

ets_api_nt.h

Details

This function can be used to customize the mouse coordinates display in the status bar. The function should generate a string (max length buffer_len - 1) containing the desired text for the display and place it in coords_display_buffer.

This function is registered by Ets_Nt_Model_Mouse_Coords_Display_Callback_Register().

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