Click to See Complete Forum and Search --> : Creating a virtual keyboard......


Steve Charlewood
October 6th, 1999, 04:17 AM
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

January 12th, 2000, 02:18 AM
Hi,
How about your virtual keyboard?
I am interested in it.
If possible, would you share the code with me?
My email is wangycol@online.sh.cn.
Thank you.