Hi Everyone,

I am currently writing an application which contains two MFC Dialogs. One of the dialogs is basically an on screen numeric keypad (Buttons 1 - 9 and a Dot).

When I press number 1 for example, I need to be able to send a number 1 to whatever control has focus on the parent dialog. I have done this previously using .NET but I am now focusing on writing in C++/MFC.

If you need any more information please enquire. I hope someone can help me.