microsoft.public.windows.backgroundtransfer
[Top] [All Lists]

Send Message to Background window

Subject: Send Message to Background window
From: "Manoj"
Date: Thu, 26 May 2005 14:38:05 +0530
Newsgroups: microsoft.public.windows.backgroundtransfer
hi experts
keybd_event function is used to send keys to an active windows.
If windows is not active then keys are not sent.
I have tried to use following functions to activate the window
SetFocus(handle of window)
SetActiveWindow(handle of window)
EnableWindow(handle of window)

But these don't make the window active.
Can someone tell me.
I have handle of window to which i want to send keys.
If window is enable then key are sent. But if it's not enable then keys are
not sent.
Please reply
Thanks



<Prev in Thread] Current Thread [Next in Thread>
  • Send Message to Background window, Manoj <=
Privacy Policy