Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Touch scroll/ swipe capability for WinForms application

Posted on 2015-02-13
3
Medium Priority
?
1,348 Views
Last Modified: 2015-04-21
I have an application that is used on a touch screen point-of-sale type PC running WinXP. Application has been written many years ago in VB6. Application has a grid-type data that is being scrolled by 2 buttons "Page UP" and "Page Down".           Lately after seeing  all the cool applications for phones that allow very easy swipe type scrolling, I set out to research if I can redo my application in .NET and give this app a more modern feel. I have tried a few libraries which didn't give me what I wanted. Is there any way to implement swipe scrolling in WinForms application, using 3rd party Grid and/or libraries or preferably using straight DataGridView ?
0
Comment
Question by:takethedog
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40
ID: 40609350
If you are still running on Windows XP, forget it. Touch has to first be built in the operating system.

Microsoft started incorporating touch features in higher end versions of Windows 7, and finished the job in Windows 8.

However, Windows Form almost froze with the advent of WPF and later Windows Store, and they never incorporated the feature in the Windows Form controls. I am not aware of any third library that could do the job.

The only way I know to have touch enabled Windows Forms applications is to deal with the low level calls to the OS. Microsoft offers a few Windows Touch Samples that could help you get started.

You might be better of moving the application to WPF or Windows Store is you need to extensively work with touch.
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 1500 total points
ID: 40609689
Touch has to first be built in the operating system.
I disagree...to a point.

Before mobile exploded, there were touch-screen systems--even on XP as I recall. Basically what happened is the touch screen replaced the mouse--literally. Wherever you would touch on the screen, the mouse cursor would jump over to that position (invisibly). So I think that yes, you could simulate some mobile aspects, like kinetic scrolling and swipe scrolling (to some degree), but some aspects you won't be able to simulate, like multi-touch.
0
 
LVL 40
ID: 40609698
Yes, there were. But as far as I know, they were dedicated system, dependent on the peripheral driver. You needed to program specifically for the hardware. So the idea of finding controls to work with these does not apply.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question