MenuItem

Every node in any menu is a tree of MenuItems. Every MenuItem have own properties.

Properties:
CaptionThis is a text of menu item.
CheckedIf this true, menu item will have a checkmark at left.
EnabledThis is True by default. Set it to False to generate disabled control. This will add GUICtrlSetState(-1, $GUI_DISABLE) line.
GroupIndexItems that have RadioItem property and with the same GroupIndex will be grouped.
HotKeyThis property allow to set hotkey for this item.
NameUnique name of control, this defines the name of variable where control ID will be kept. It also can be empty, when no variable will be created.
OnClickStandard control event.
VisibleThis is True by default. Set it to False to generate hidden control. This will add GUICtrlSetState(-1, $GUI_HIDE) line.