MFA File Structure
Docs
Powered by
Powered by
CMenuItem
What is CMenuItem?
CMenuItem is a format used to store data related to an item set within the
CMenuBar
.
Structure
Size
Type
Name
Description
2
UInt16
Flags
Definitions
...
UInt16
ID
Only exists if the
Parent
flag is disabled, unsure of usage
...
Unicode
Name
Null terminated string, name of the Menu Item
...
CMenuItem
[]
Children
An array of menu items, only stops when an entry's Footer flag is enabled and only exists if the
Parent
flag is enabled
Flag Definitions
Flags
Value
Name
Description
0x0001
Disabled
Whether or not the menu item is marked as "Grayed"
0x0002
Unknown
0x0004
Unknown
0x0008
Checked
Whether or not the menu item is marked as "Checked"
0x0010
Parent
Whether or not the menu item has children
0x0020
Unknown
0x0040
Unknown
0x0080
Footer
Whether or not the menu item is the last item in an array of menu items