ENABLECONTROL

Top  Previous  Next

Syntax

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

Description

Enables or disables a control in a window or dialog.

Parameters

win - Window or dialog containing the control.

id - Identifier of the control.

bEnable - New state of the control. Set to 0 to disable and 1 to enable the control.

Return value

None

Remarks

None

Example usage

ENABLECONTROL mydlg, 7, 1