Click to See Complete Forum and Search --> : Sending KeyStrokes to App


sureshm
October 2nd, 2001, 11:13 PM
Hi,

I want to send the keystrokes to the mdi form, irrespective of child windows open or active.

if child windows are active, and i pressed some key, and i want to pass it to the mdi form.

thanks

DSJ
October 5th, 2001, 04:24 PM
You'll have to get the window handle of the MDI form and use the SendMessage API or set the MDI form as the active window, use SendKeys, and then reset the child form as active.