Touchscreen vertical scrolling

Discussions about document viewing.
Post Reply
Posts: 3
Joined: Wed Mar 10, 2010 10:02 am

Touchscreen vertical scrolling

Post by Phil14 » Mon Jul 28, 2014 10:58 am


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

Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: Touchscreen vertical scrolling

Post by Gabriela » Sun May 19, 2019 8:57 pm


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.
Kind regards,

GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests