PocketMatrix forums

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

GDIDemo and Stylus input

Hi
I have made simple modifications to the bundled GDIDemo sample code, to run on an iPAQ.

I am trying to record the current stylus position as the user drags it around the screen.

I've added a StylusMove(Point p) method to the code, which just records the stylus position p in a global. The (x,y) coord values are drawn on to the screen in processNextFrame.

Problem: the StylusMove method does not seem to be called at any point. The coords are recorded and change on a StylusDown action, but that is all. processNextFrame is executing properly.

Am I missing something obvious?

Thanks
SJ
SJ · 19 Apr 2004, 03:55 UTC — The problem was....
Yes I was missing something obvious - not dealing with

WM_MOUSEMOVE
WM_LBUTTONUP

in the WndProc method.

SJ