SetMenuItemState()

Syntax

Result = SetMenuItemState(#Menu, MenuItem, State)

Description

Changes the specified MenuItem state. This is useful to add a 'check mark' near to the menu item text. If the 'State' is 1, then the check mark is displayed, else the check martk is removed. GetMenuItemState() can be used to retrieve the current menu item state.

Supported OS

Windows, AmigaOS, Linux

Menu - Index