Listen For CursorDown Event

Get help with using AutoHotkey and its commands and hotkeys
grimboto
Posts: 47
Joined: 09 Jul 2014, 19:20

Listen For CursorDown Event

23 Jun 2019, 06:08

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 384 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

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Google [Bot], yogurtpixel and 73 guests