EtsT_Nt_Menu_Define_Callback

Note: Requires OPNET Development Kit

Abstract

Callback: Used to build a menu.

Syntax

EtsT_Nt_Menu_Define_Callback (obj_handle, menu_tlptr, show_menu_flag_ptr)
Argument Type Description
obj_handle EtsT_Obj_Handle Object that was clicked on
menu_tlptr Prg_List * The application's internal linked list of text lines
show_menu_flag_ptr int * Indicates whether or not to show a menu

Return Type

void *

Custom state that is passed to the selection callback

ets_api_nt_cback.h

Details

This function can be used to change a menu (for example, add or delete menu items), or override whether or not to show a menu, if showing a menu is the default action.

This function is registered by Ets_Nt_Menu_Define_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