SetEnabled method


Available for all objects.

Syntax

Invoke SetEnabled, hWnd, bEnabled

Function

Sets the Enabled property for an object.

Parameters

hWnd

Handle to the object.

bEnabled

A DD value specifying the new enable state for the object.

Return value

Eax returns TRUE if succesful, or FALSE if not.