ENABLEMENUITEM

Top  Previous  Next

Syntax

ENABLEMENUITEM(win as WINDOW,id as UINT,bEnable as INT)

Description

Enables or disables a menu item.

Parameters

win - Window or Dialog containing the meni

id - Menu item identifier

bEnable - Use 0 to disable or 1 to enable.

Return value

None

Remarks

Disabled menus are grayed-out and cannot be selected

See Also: ENABLEMENU

Example usage

ENABLEMENUITEM mywnd, 72, 1