Page 1 of 1

Touchscreen vertical scrolling

Posted: Mon Jul 28, 2014 10:58 am
by Phil14
Hello,

I developed an Windows Form Application with VS 2010 and GdPicture
I use GdViewer to view a Pdf File

I have a problem when I use srcolling within a page :

When I Scroll through the client area vertically or horizontally with the mouse (MouseModePan), all works fine.
When I try to do it with my finger on a touchscreen, the horizontal scroll works, but the vertical scroll doesn’t work.
For horizontal scroll, I get the following events :
- MouseDown event
- several ScrollViewer events
- MouseUp event
For vertical event, I get ScrollViewer events but no MouseDown event (and no Mouseup event)

There is the same problem with your WPF sample.

Can you help me ?

Thank you

Re: Touchscreen vertical scrolling

Posted: Sun May 19, 2019 8:57 pm
by Gabriela
Hello,

WPF and WinForms handle touch events differently. WinForms have no direct support for touch events and therefore are interpreted as standard mouse events. WPF on the other side supports touch events and they are handled separately from mouse events. Thumbnails component is not able to recognize these touch events in the demo sample if you are talking about this. You need to handle the "Manipulation" events and "Touch" events - ideally interpret them as mouse events as WinForms do.
Let us know if you are still using our product and you are still experiencing any issues with the current release.