How to insert my code between text Zoom and Windows?

I am writing an application whose users will use ZoomText and tablet. ZoomText - software for enlarging the screen. However, ZoomText has an error that prevents tablet tracking from working correctly, which means that the interaction with the finger and the pen with the screen is incorrect. When you zoom in on a rectangle on the screen and click on something, you click on the absolute coordinates, as if ZoomText weren’t working.

I am trying to write a program that will correct this behavior. ZoomText has a COM API that lets me know the scale and location. This means that if I could get between ZoomText and the operating system, I could intercept the pen / touch input, translate the coordinates based on the zoom and location of ZoomText, and then transfer the input back to the operating system.

Where to begin? I don’t even know where to start looking for how to implement this.

+3
source share
1 answer

I think the way to this is with a low mouse hook. Use SetWindowsHookEx with type hook WH_MOUSE_LL.

+1
source

Source: https://habr.com/ru/post/1735350/


All Articles