[This is preliminary documentation and is subject to change.]

Allows handling system-wide low-level mouse hooks

Namespace: Tools.DevicesT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[DefaultEventAttribute("ButtonEvent")]
public class LowLevelMouseHook : Win32Hook
Visual Basic
<DefaultEventAttribute("ButtonEvent")> _
Public Class LowLevelMouseHook _
	Inherits Win32Hook
Visual C++
[DefaultEventAttribute(L"ButtonEvent")]
public ref class LowLevelMouseHook : public Win32Hook
F#
[<DefaultEventAttribute("ButtonEvent")>]
type LowLevelMouseHook =  
    class
        inherit Win32Hook
    end
JScript
public class LowLevelMouseHook 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_MOUSE_LL).

Inheritance Hierarchy

System..::..Object
  Tools.API.Hooks..::..Win32Hook
    Tools.DevicesT..::..LowLevelMouseHook

See Also