Método SetDefault


Disponible para los objetos Button.

Prototipo

SetDefault Proto hWnd:HWND, bDefault:BOOL

Sintaxis

Invoke SetDefault, hWnd, bDefault

Función

Escribe la propiedad Default de un objeto Button.

Parámetros

hWnd

"Handle" del objeto.

bDefault

Valor BOOL que indica el nuevo estado por defecto ("default") del botón.

Valor de retorno

Eax devuelve TRUE si se ha podido escribir la propiedad, o FALSE si no.


OBSERVACIONES
: El código del botón por defecto ("default button") se ejecuta cuando se pulsa la tecla <Enter>.