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
Solved

Touch scroll/ swipe capability for WinForms application

Posted on 2015-02-13
3
928 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
  • 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 500 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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
defining NULL or 0 10 44
Easy filter aspnet 2 27
Code enhancement 4 22
I need help adding validation to my MVC.Net view 6 9
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…

839 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