Command Prompt for Windows




Command GREY

Function:

Grey or ungrey a menu item in a dialog box.

Syntax:

GREY dlg_id id state
dlg_idSpecifies the identifier of the dialog box that owns the menu.
idSpecifies the identifier of the menu item.
stateA value that specifies the state of the menu item. A value of 0 ungreys the menu item and a value of 1 greys the menu item.

Note:

When a menu item is greyed then the menu item will not be selectable.

Also see command ISGREYED.