public MouseHookManager(IntPtr handle, IMouseHookUser user) { this.thisProcessID = 0; this.hookDisable = false; this.handle = handle; this.user = user; }
public MouseHookManager(IntPtr handle, IMouseHookUser user) { this.thisProcessID = 0; this.hookDisable = false; this.handle = handle; this.user = user; }
public static MouseHookManager HookMouse(IMouseHookUser user, bool enabled) { MouseHookManager result = new MouseHookManager(IntPtr.Zero, user); result.HookMessages = enabled; return(result); }
public static MouseHookManager HookMouse(HandleRef handlerRef, IMouseHookUser user, bool enabled) { MouseHookManager result = new MouseHookManager(handlerRef.Handle, user); result.HookMessages = enabled; return(result); }
public static MouseHookManager HookMouse(IMouseHookUser user, bool enabled) { MouseHookManager result = new MouseHookManager(IntPtr.Zero, user); result.HookMessages = enabled; return result; }
public static MouseHookManager HookMouse(HandleRef handlerRef, IMouseHookUser user, bool enabled) { MouseHookManager result = new MouseHookManager(handlerRef.Handle, user); result.HookMessages = enabled; return result; }