?
Solved

Touch scroll/ swipe capability for WinForms application

Posted on 2015-02-13
3
Medium Priority
?
1,178 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

752 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