コード例 #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();
 }