locked
Touchscreen with vb.net RRS feed

  • Question

  • Hi 
    does someone know how to tell me as to manage the Touchscreen with vb.net? 
    What event does he produce when with the pen graze from the lower part upward or vice versa? 
    I have to move an image moving the pen on the touchscreen.
    Thanks
    Sunday, January 10, 2010 11:52 PM

Answers

  • In general the stylus is treated as a mouse. So you'll get MouseDown (when the stylus touches the screen), MouseUp (when the stylus is removed from the screen), and MouseMove (as the stylus is dragged on the screen) events.  Additionally note that Windows Mobile 6.5 supports the concept of gestures. These are not exposed through .Net but can be used through intercepting the windows messages directly. These are messages sent from the user doing some combination of actions. You can learn more about gestures through these webcast.
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.
    • Proposed as answer by Joel Ivory Johnson Monday, January 11, 2010 4:17 AM
    • Marked as answer by anallie0 Monday, January 11, 2010 2:34 PM
    Monday, January 11, 2010 4:17 AM

All replies

  • In general the stylus is treated as a mouse. So you'll get MouseDown (when the stylus touches the screen), MouseUp (when the stylus is removed from the screen), and MouseMove (as the stylus is dragged on the screen) events.  Additionally note that Windows Mobile 6.5 supports the concept of gestures. These are not exposed through .Net but can be used through intercepting the windows messages directly. These are messages sent from the user doing some combination of actions. You can learn more about gestures through these webcast.
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.
    • Proposed as answer by Joel Ivory Johnson Monday, January 11, 2010 4:17 AM
    • Marked as answer by anallie0 Monday, January 11, 2010 2:34 PM
    Monday, January 11, 2010 4:17 AM
  • HiThanks thousand.
    Monday, January 11, 2010 2:34 PM