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