|
-
Apr 7th, 2002, 03:24 PM
#1
Thread Starter
New Member
On-screen keyboard
I am back with a new question mates. I am working on a touch screen project and i would like to enter an on-screen keyboard in order the visitors to be able to enter some data. Does anyone know how i can figure it out ? Thank you in advance. Cheers!
-
Apr 7th, 2002, 03:59 PM
#2
Addicted Member
Just store a collection of rects for each key and cycle through each one to determine which one has been touched.
Some Days, i just get this feeling that i'm helping to write dozens of Viruses...
-
Apr 7th, 2002, 04:35 PM
#3
in C++ I would use a lot of windows (maybe owner-draw buttons) and simulate key messages to fool any app into thinking it's a real keyboard
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Apr 8th, 2002, 05:39 AM
#4
Thread Starter
New Member
A little more help plz
Does anyone knows where i can find on the web somtheing similar with it. Any part of code or any demo working in Visual Basic. Thanx mates.
-
Apr 9th, 2002, 01:50 PM
#5
Frenzied Member
well if you get the touchscreen input just like a mouse input it wont be hard at all
just a bunch of buttons and a txtbox that would get the new letter for each button....
well but I guess you have some other problem so what do you need?
Sanity is a full time job
Puh das war harter Stoff!
-
Apr 9th, 2002, 06:45 PM
#6
Thread Starter
New Member
I just wanna know if there is any kind of a VB control which enables the use of an on-screen keyboard or any application which can be used in VB 6.If yes where can i find it... if not can someone provide me with a piece of code through which i can make the above idea provided, functional. ( the idea was to create buttons and a textbox) Cheers
-
Apr 10th, 2002, 05:32 AM
#7
Junior Member
so youve got a problem with your vb application, sending the keys they press to the program you want, I kind of faintly remember a sendkeys API Function to send ascii data to another application as if the keyboard pressed it.
i'm at college at the minute but whenIi get home I will see if I can find it
-
Apr 10th, 2002, 05:51 AM
#8
Junior Member
This thread shows you how to simulate KeyPresses it discusses send keys and keyb_event API calls, you will have to look the declares for them in the API viewer.
http://www.vbforums.com/showthread.php?threadid=155846
remember you will have to return focus to the application the keys are being pressed to or they will be sent to your onscreen-keyboard
keep in touch because I will help with project or if you dont want I would like to see finnished thing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|