Mètode SetEnabled


Disponible per a tots els objectes.

Sintaxi

Invoke SetEnabled, hWnd, bEnabled

Funció

Escriu la propietat Enabled d'un objecte.

Paràmetres

hWnd

"Handle" de l'objecte.

bEnabled

Valor DD que indica el nou estat d'habilitació ("enabled") de l'objecte.

Valor de retorn

Eax torna TRUE si s'ha pogut escriure la propietat, o FALSE si no.