SetDefault method
Available for Button objects.
Syntax
Invoke SetDefault, hWnd, bDefault
Function
Sets the Default property for a Button object.
Parameters
hWnd
Handle to the object.
bDefault
A DD value specifying the new default state for the button.
Return value
Eax returns TRUE if succesful, or FALSE if not.
REMARKS: The code for the default button is executed when
pressing the <Enter> key.