CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Location
    Hampshire, UK
    Posts
    26

    Creating a virtual keyboard......

    I am building a virtual keyoard application, for a project I am working on, and I've run into a couple of problems.

    Being a keyboard it has 105 buttons, and I want them all to be handled by a common handler, to prevent me havig to bloat my code with 105 almost identical tiny functions.

    I have found no simple way of extracting the pressed button ID from the default VC++ handlers, which I could then pass to the next stage for processing. Am I missing something simple?

    My other problem is finding a working keyboard hook function, which will allow the virtual keyboard to get full keyboard input. The couple that I have found have been for earlier verisons of VC and have turned out to be incompatible with my program.

    Ideally this hook will call the same function as the button handler, as pressing the button and clicking the key perform the same function.

    Any and all help would be greatly appreciated.

    thanks

    Steven Charlewood


  2. #2
    Guest

    Re: Creating a virtual keyboard......

    Hi,
    How about your virtual keyboard?
    I am interested in it.
    If possible, would you share the code with me?
    My email is [email protected].
    Thank you.


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

Featured