TextGRAB SDK Documentation | ITextGRABSDK::SetupHotkey

Setups the hot key for capture tool activation.

[C/C++]
HRESULT SetupHotkey(

USHORT MainKey,
USHORT ExtendedKey

);

[Visual Basic]
object.SetupHotkey(

ByVal MainKey As Integer,
ByVal ExtendedKey As Integer

)

[C#]
void ITextGRABSDK.SetupHotkey(

USHORT MainKey,
USHORT ExtendedKey

);

Parameters

MainKey
[in] main key value.
ExtendedKey
[in] extended key value.

Remarks

Available values for keys are: VK_SHIFT(0x10),VK_CONTROL(0x11), VK_MENU(0x12).

Return Value(s)

 

Return Value(s) Definitions
S_OK (0x00000000) Operation was completed successfully.
E_FAIL (0x80004005) Error.
E_INVALIDARG (0x80070057) Invalid keys combination.

See Also

ITextGRABSDK interface