Page 1 of 1

Listen For CursorDown Event

Posted: 23 Jun 2019, 06:08
by grimboto
I'm using a stylus to draw on the screen using GDIP and there is a small delay between when the stylus touches the screen and the line starts drawing.
After a bit of research i found the below article that describes the timeline of events when a stylus is used.
https://docs.microsoft.com/en-us/windows/desktop/tablet/timeline-of-mouse-messages-and-system-events

A Image from the article below shows where the delay is happening.
Event Timeline.PNG
Event Timeline.PNG (128.98 KiB) Viewed 385 times
So I was wondering if there is any way to listen for the CursorDown Event. I found a couple of articles on MSDN with examples in other languages but i have no idea how to convert them to AHK or even if they can be converted.

https://docs.microsoft.com/en-us/previous-versions/ms827586%28v%3dmsdn.10%29
https://docs.microsoft.com/en-us/previous-versions/aa510879(v=msdn.10)

If anyone has any ideas it would be greatly appreciated.

thanks GRIMBOTO