MenuSetState SUB Action Explicitly assigns the state of a menu item. Syntax MenuSetState menu%, item%, state% Remarks The MenuSetState procedure uses the following arguments. menu% ----- An integer that identifies the position (from left to right) of the affected menu. item% ----- An integer that identifies the number of the menu item within the menu. state% ------ An integer that indicates the state of the menu item. -1 Empty - does not appear on menu. 0 Disabled - appears in color defined by the disabled% variable set with MenuColor. 1 Enabled - this is the normal state. 2 Enabled with a check mark. Use MenuSetState whenever you want to change the state of a particular menu item. You must re-execute MenuPreProcess if the state of the menu item changes to or from the empty or not displayed state. See Also. MenuPreProcess