How to write a soft keyboard in VC++

Hi

I have to write a program in VC++. I want to make a soft keyboard containg some of the  actual/physical  keys on the keyboard. Now by using mouse if I press on the soft keyboard keys, the same action should occur that  occurs when presssed on the physical keys on the keyboard.

I did not work on this type of application till now. Can anyone please help me or give me some directions.

Thanks
Madhavi
l_madhaviAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nass89Commented:
Hi,
Which classes are you using? Is it an MDI, SDi or Dialog based application?
As a general rule, you can divide the view (Where the softkeys are defined) into small rectangles and when the user clicks over the rectangles, based on the position of clicks execute the proper commands.
You may also have the softkeys as a modeless dialog and when it is visible, get the commands as above solution and send the commands to the the main application.

Good Luck!
0
l_madhaviAuthor Commented:
Hi

I am using a SDI based appliaction.

Madhavi
0
Amritpal SinghCommented:
hi madhavi; back with old ID :)
no probs

have a look at the following link

http://www.codeproject.com/samples/onscreenkeyboard.asp?df=100&forumid=500&exp=0&select=394180

i don't know will it suffice to ur requirements
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.