Ets_Dbox_Menubar_Get()
Note: Requires OPNET Development Kit
Abstract
Gets a pointer to the menu bar of a dialog box.
Syntax
Ets_Dbox_Menubar_Get (ets_dbox_ptr)
| Argument | Type | Description |
|---|---|---|
ets_dbox_ptr |
EtsT_Dbox * |
The dialog box containing the menu bar of interest. |
Return Type
EtsT_Mb_Menu_Bar *
Menu bar pointer; PRGC_NIL if unsuccessful (for example, ets_dbox_ptr is bad or there is no menu bar control in the dialog box).
Header
ets_api_gui.h
Details
This function gets a pointer to the menu bar of the specified dialog box. You can manipulate this menu bar using the functions in the Menu Bar Sub-Package.
To get the menu bar of the current tool, use Ets_Mb_Active_Get().