Set keys for the methods IsCancelKeyPressed and WaitOnCancelKey:
HRESULT CancelKeys([out, retval] VARIANT *pVal);
Get keys for the methods IsCancelKeyPressed and WaitOnCancelKey:
HRESULT CancelKeys([in] VARIANT newVal);
HRESULT Return Values
Description
The CancelKeys property is used in conjunction with the following methods:
It sets/returns the code of keys.
When it is set, the parameter newVal can contain:
When it is returned, the parameter pVal contains an array of Variants containing an unsigned long integer. If the property CancelKeys is not yet set, the parameter pVal is an empty Variant.