Mètode SetEnabled


Disponible per a tots els objectes.

Prototip

SetEnabled Proto hWnd:HWND, bEnabled:BOOL

Sintaxi

Invoke SetEnabled, hWnd, bEnabled

Funció

Escriu la propietat Enabled d'un objecte.

Paràmetres

hWnd

"Handle" de l'objecte.

bEnabled

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

Valor de retorn

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