Command Prompt for Windows




Command ISGREYED

Function:

Determine whether or not a menu item is greyed. The state of the menu item is stored in an environment variable called ISGREYED.

Syntax:

ISGREYED dlg_id id
dlg_idSpecifies the identifier of the dialog box that owns the menu.
idSpecifies the identifier of the menu item.

Note:

A return value of 0 indicated that the menu item is not greyed and a value of 1 indicated that the menu item is greyed.

Also see command GREY.