CHECKMENUITEM

Top  Previous  Next

Syntax

CHECKMENUITEM(win as WINDOW,id as UINT,bChecked as INT)

Description

Sets or resets the checkmark next to a menu item

Parameters

win - Window or dialog containing the menu.

id - Identifier of the menu item.

bChecked - State of the checkmark.

Return value

None

Remarks

Menu is checked if bChecked = 1 or unchecked if bChecked = 0

Example usage

CHECKMENUITEM mywin, 99, 1