Queries the menu id of a pop-up menu item in the Editor window.
| Note: | This parameter is valid only in an Editor window. |
Scope: File
Syntax
query popupmenuid.{Item|BITMAP_resdll_id }[.Subitem|BITMAP_resdll_id] [...]
Options
Item |
The name of a pop-up menu item. | ||||
Subitem |
A sub-menu item attached to the Item pop-up menu. | ||||
BITMAP |
Specifies that the menu or sub-menu item
is a bitmap. If this is chosen, you must also specify:
|
Description
The popupmenuid parameter queries the id of a pop-up menu or submenu selection. The names or ids of the pop-up menu item and sub-menu items must be the same as originally used used to create the item. If the item is not found, a value of <NULL> is returned.
Example
To query the id of the sound sub-menu item attached to the mine pop-up menu, type:
query popupmenuid.mine.sound
API Return Codes
-1 |
You cannot issue set for this parameter. |
![]()
menuactive Parameter
menucheck Parameter
popupinit Parameter
popuplink Parameter
popupmenu Parameter
menucheck Parameter
popupmenulist Parameter
