[This is preliminary documentation and is subject to change.]
Allows handling system-wide low-level keyboard hooks
Namespace: Tools.DevicesTAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[DefaultEventAttribute("KeyEvent")] public class LowLevelKeyboardHook : Win32Hook |
| Visual Basic |
|---|
<DefaultEventAttribute("KeyEvent")> _ Public Class LowLevelKeyboardHook _ Inherits Win32Hook |
| Visual C++ |
|---|
[DefaultEventAttribute(L"KeyEvent")] public ref class LowLevelKeyboardHook : public Win32Hook |
| F# |
|---|
[<DefaultEventAttribute("KeyEvent")>] type LowLevelKeyboardHook = class inherit Win32Hook end |
| JScript |
|---|
public class LowLevelKeyboardHook extends Win32Hook |
Remarks
It is highly recomended not to install multiple hooks of same type in one application and to keep hook-handling code as quick as possible. You can significantly slow down user typing experience.
This class uses Win32 API function SetWindowsHookEx(WH_KEYBOARD_LL).