DM_ENABLE

Far Manager

DM_ENABLE

The DM_ENABLE message is sent to the Dialog API kernel to enable or disable a dialog item or to determine if a dialog item is enabled.

Param1

ID of the dialog item.

Param2

Item state:
TRUE - enable item
FALSE - disable item
-1 - get current item state

Return

Previous state of the item:
TRUE - enabled
FALSE - disabled

Controls

ControlDescription
All All dialog items

Remarks

Example

See also: