PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How To get stylus position in EVC plz.

i'm looking for Function to get Stylus pos, but without using the Lparam from Wndproc .

Like GetAsyncKeyState but for Stylus...
I believe all you have to do is check to see if the WM_LMOUSEDOWN (or something similiar to that) has occured, and then the two param will contain the x and y chords.
the problem is that this Message must be read by caputing the Message type. i can't do that as my prog don't use Wndproc.
Lookup GetCursorPos and GetMessagePos in the online docs. I've used one of these (I forget which). One gets the most current stylus position and the other gets the stylus position when the last message retrieved by GetMessage occured.

Tom