Returns the menu id of a menu-bar pull-down.
Note: this parameter is only valid when issued in an Editor window.
Scope: File
Syntax
query actionbarid.{Item[.Subitem] [.Subitem][...] | BITMAP_resdll_id}
Options
Item |
The name of a menu item on the menu-bar. |
Subitem |
The name of a sub-menu item attached to Item. |
BITMAP |
Specifies that the menu or sub-menu item is a bitmap. |
resdll |
The resource dll containing the item's bitmap. |
id |
The id for the bitmap contained in the resdll resource dll. |
Description
The actionbarid parameter queries the id of a menu or menu selection created with the actionbar parameter. The item and subitem names specified must be the same as those used to create the menu-bar. If the item specified is not set, a value of <NULL> is returned.
Example
To query the id of the sound sub-menu item attached to the mine pull-down menu, type:
query actionbarid.mine.sound
API Return Code
-1 |
You cannot issue the set command for this parameter. |
![]()
action Parameter
actionbar Parameter
actionbarlist Parameter
