I am creating a Keyboard control for my application. The keyboard will be in a panel1 on the main form. There is another panel on the Main Form (Panel2)that will display a differnt form (Form2). I need function that will find what control had the focus in the form that is diplayed in panel2. I think that as soon as you press a button on my keyboard control the control that had the focus will loose its focus.
Any guidance would be apprectiated. I found a really cool example of a keybord control online however it is in an application of its own and finds the windows activewindow and sends the key strokes to that app. So if I have notepad open and active, any key presses on the keyboard app will update notepad.
Dan