C++ for a touchscreen book

Hi,

Basiclly im at uni and ive got my project and i have create a c++ program for a multi touch screen and my c++ isnt all that, so i was wondering if anyone knew a good book or a good website which you feel that if i read it all and practised at it, then i would be able to program a decent software for a touch screen.
Any information or anything would really be usefull.

Thank you

Hi yassar ;

I tried to search about your subject but without any result;

I hope the members help you;

Hi Yassar,

There are a few details that need to be addressed before anyone can provide you with any real help.

First an most important is what operating system is the touchscreen running?

Regards,
sBoff.
Hi,

The OS will be windows XP, i will be creating a program from scratch. The real point of the project is that the user will be using a touch screen to use the program, but the whole point of using a touch screen is that your not limited to a single finger which would represent 1 mouse, so you can use 2+ fingers or if people are sitting around the screen they can all work on it and so on.

Also im in a dilema, i dont know wether it would be better to use C# or C++??

Last edited on
It would be easy if there was only one user; a user's press is simply interpreted as a mouse click. I have infact just completed a commercial touch screen application in Windows CE.

I couldn’t find much information online about multitouch in Windows XP so that will be your first hurdle. Working out how it actually works, even a basic sample, in any programming language, would be immensely useful.

I would say stick with C/C++ however, you may find this overwhelming if your windows programming experience is limited. You could look at using MFC but there is still a learning curve. C#/.Net allows you to create things quickly however it can make it difficult to get to the “nitty gritty” level you may want/need to get to.

Anyway the C/C++ or C# question is best answered once you’ve found out how to actually get the OS working with mutitouch.

If your looking for a good starting point for Windows Programming in C/C++ check out http://www.winprog.org/tutorial/

Keep us updated! Im quite interested.
Thanks for the information, it really is alot of help.

I am quite confused about the multitouch in windows XP now lol, this is because someone else has basiclly alreayd kinda done this project before, he created a program where you can create a ER diagram and you can use multitouch and it seemed to be a normal program in windows XP but i think i know where you comming from, i am assuming you think that because XP is only used to a single mouse click, how do you then turn your program in XP to make XP know your using more than 1 finger which represents the 1 mouse.

Also i decided to stick with C++, my programming exp is quite low but i am defo gonna read books and tuts as i go through the project so i can learn more and more.

Also, if your curious, the touch screen product itself is from this company : http://multi-touch-screen.com/
If you wanna take a look.

Thanks.
Yes thats right, i dont understand how it would work. If it was a later OS, maby windows 7, then i could understand it. I believe windows 7 has multi-touch and gesture capabilities built in.

Ill have a look this weekend (its Friday here, currently at work) and see what i can come accross. Like i say once you have all the required pieces of the puzzle i dont think it will be too difficult putting them together. I believe it will be getting the pieces that will be hard - i may be wrong tho, who knows.

I had a look at the link, quite cool what they are doing.

Do you currently have any hardware that is capable of multi-touch?

Regards.
Yea i get what you mean, at the moment im reading a report on someone who as already basiclly done it and yea the hardware that i can work on is capable to multi touch, i will be connecting the touchscreen hardware, to my laptop which has windows 7 on it, so i guess it wont be to hard to work on from windows 7 but i will most likely need to make sure that it works with windows xp.

Yassar
Topic archived. No new replies allowed.