示例#1
0
        public static void SetMousePos(int cx, int cy)
        {
            RectWin32 client = ProcessHookManager.WindowInfo.Client;

            ProcessHookManager.ScreenToClient(cx, cy, 1);
            ProcessHookManager.SetCursorPos(cx + client.Left, cy + client.Top, 1);
            MoveMouse(cx, cy);
            if (DebugMouseCursorPos)
            {
                Interop.SetCursorPos(cx + client.Left, cy + client.Top);
            }
        }
示例#2
0
 internal void method_3(Hotkey hotkey_0)
 {
     ProcessHookManager.Reset();
 }
示例#3
0
 internal void method_2(Hotkey hotkey_0)
 {
     ProcessHookManager.Enable();
 }
示例#4
0
 internal void method_1(Hotkey hotkey_0)
 {
     ProcessHookManager.Disable();
 }