Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing a VB application via a touchscreen!

Status
Not open for further replies.

Agent009

Programmer
Apr 4, 2003
96
IE
Hey all,

Ive written a VB appplication,

Is it possible to be able to interact with the application via a touchscreen rather than use the mouse/keyboard?

If so, then how is this done?, i think it something to do with changing the mouse/keyboard clicks with the events that occur when the screen is touched, but how is this done?

Maybe you could advise me on other websites or forums that could be of use to me?

Thanks for any assistance in advance,

Agent009,
 
Hi,

Surely the touchscreen comes with drivers that replicate the mouse functions, so no extra development is necessary.

For example:
Move my finger on the screen = MouseMove
Press my finger down on the screen = MouseDown
Lift my finger up = MouseUp
Tap my finger = Click
and so on...

otherwise all applications would have to have a Mouse / Touchscreen switch in the setup.

- Andy
_______________________________
"On a clear disk you can seek forever"
 
Andy,
You're right - the touches are just replicating mouseclicks so there shouldn't be any real coding changes.

Agent009...that doesn't mean you are off the hook. Designing for a touch screen changes everything. Look at how close your buttons are to eachother, how large they are, if a user would be blocking important parts of the screen with his/her hand while clicking(don't forget lefties), and also you may need to build an on-screen keyboard if the user needs to enter data. That's a start.

Have fun...sounds like it would be a fun project though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top