How to clear buffered taps on Pocket PC

  • Thread starter Thread starter newbie
  • Start date Start date
N

newbie

Hi all, i have an application running on Pocket PC and developed in VB
..NET 2003. I have a single form with a number of panels which i keep
showing and hiding.

My problem is if i'm on a panel having a NEXT button and i tap twice
or thrice before the second panel is loaded this buffered taps
actually take me along to third panel. So one alternative is i disable
the button on click and show an hour glass but i don't want to do
that. How can i clear the buffered taps and stop them from being
carried forward.
 
The only way is to manually remove them from the message queue. The
OpenNETCF ApplicationEx class has a pump that gives a good example on
popping from the queue. Some sort of IMessageFiler implementation would
also work, but I think the logic would bee more complex that simply
disabling the button on a click event.

-Chris
 
Yeh i was actually going through the ApplicationEx class and pump
method but not ablr to get much. Like i'm not able to get a good
example of how can i remove the message from the queue. Can anyone let
me know where can i get a good example of this? How to filter the
message out.
 
Back
Top