The DELMENU record stores a menu deletion and is very similar to the ADDMENU record. For more information about menu system modification, see "ADDMENU" on page 281.
If fDelete is true (equal to 01h), the menu object is deleted at this level of the hierarchy. For example, if fDelete is true in the second DELMENU record of the group, Microsoft Excel deletes the specified menu from a menu bar. If fDelete is false (equal to 00h), the record is a placeholder, and one of the following DELMENU records in the group will define the menu deletion.
For menu items and submenu items, the icetabItem field stores the index to the deleted command if the item is attached to a built-in command. If icetabItem equals FFFFh, the stItem string from the rgch field is used instead.
Record Data
Offset |
Name |
Size |
Contents |
4 |
icetabItem |
2 |
Icetab of the command |
6 |
cditm |
1 |
Number of DELMENU records at the next level of the menu hierarchy |
7 |
fDelete |
1 |
= 1, delete this menu object |
8 |
fMultiple |
1 |
= 1 if this item has subitems |
9 |
rgch |
var |
stItem (see text) |
The first byte of the stItem string is the byte count, and the last byte is reserved.