Results 1 to 8 of 8

Thread: On-screen keyboard

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Location
    NeverNeverLand
    Posts
    8

    Exclamation 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!

  2. #2
    Addicted Member
    Join Date
    Apr 2000
    Location
    England
    Posts
    246
    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...

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Location
    NeverNeverLand
    Posts
    8

    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.

  5. #5
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    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!

  6. #6

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Location
    NeverNeverLand
    Posts
    8
    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

  7. #7
    Junior Member Si_Bateson's Avatar
    Join Date
    Jan 2001
    Location
    East Yorkshire, England
    Posts
    22
    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
    Simon Bateson
    [email protected]

  8. #8
    Junior Member Si_Bateson's Avatar
    Join Date
    Jan 2001
    Location
    East Yorkshire, England
    Posts
    22
    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
    Simon Bateson
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width