GetCancel method
Available for Button objects.
Prototype
GetCancel Proto hWnd:HWND
Syntax
Invoke GetCancel, hWnd
Function
Gets the Cancel property for a Button object.
Parameters
hWnd
Handle to the object.
Return value
Eax/Rax returns the current cancel state for the button.
Possible returned values are:
TRUE Button object is the cancel button.
FALSE Button object is not the cancel button.
REMARKS: Only a Button object inside a window can be the cancel
button. When a Button object is the cancel button, pressing the <Esc> key has the same
effect than clicking the button.