Polling stylus status?

I've noticed an intermittent problem in my current project using PocketFrog.
It seems that every once in a while, my program doesn't call 'StylusUp' immediately after the stylus is raised from the screen. My PocketPC doesn't freeze up at all, it just continues on as if the stylus was still pressed to the screen. After a few seconds, it seems to finally realize the stylus is no longer down and calls 'StylusUp'. Needless to say, the delay is annoying.
I'm not sure if this is a PocketFrog/PocketHAL problem, if it is my (admittedly sloppy) programming or my PocketPC (Dell Axim X30 High).
Has anyone else experienced this?
One solution I have come up with is to poll the state of the stylus on every Display update. You know, ask Windows if it really is pressed down and run 'StylusUp' myself if I have to. Is there a way to do this? I haven't been able to find a function that returns the state of the stylus.
Any ideas?
It seems that every once in a while, my program doesn't call 'StylusUp' immediately after the stylus is raised from the screen. My PocketPC doesn't freeze up at all, it just continues on as if the stylus was still pressed to the screen. After a few seconds, it seems to finally realize the stylus is no longer down and calls 'StylusUp'. Needless to say, the delay is annoying.
I'm not sure if this is a PocketFrog/PocketHAL problem, if it is my (admittedly sloppy) programming or my PocketPC (Dell Axim X30 High).
Has anyone else experienced this?
One solution I have come up with is to poll the state of the stylus on every Display update. You know, ask Windows if it really is pressed down and run 'StylusUp' myself if I have to. Is there a way to do this? I haven't been able to find a function that returns the state of the stylus.
Any ideas?