Jun 9, 2003 #1 A aewarnick Senior Contributor Joined Jan 29, 2003 Messages 1,031 How do you do that? It is easy if the Form or program has input focus but what about when the program is not directly focused?
How do you do that? It is easy if the Form or program has input focus but what about when the program is not directly focused?
Jun 9, 2003 #2 N Nerseus Danner Joined Oct 22, 2002 Messages 2,547 Location Arizona, USA You'll need to use Windows hooks. They're not easy as you must use the API. I'd search google for SetWindowsHookEx (I think). -Nerseus
You'll need to use Windows hooks. They're not easy as you must use the API. I'd search google for SetWindowsHookEx (I think). -Nerseus
Jun 9, 2003 #3 A aewarnick Senior Contributor Joined Jan 29, 2003 Messages 1,031 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookfunctions/setwindowshookex.asp I found this so far.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookfunctions/setwindowshookex.asp I found this so far.
Jun 9, 2003 #4 D divil Ultimate Contributor Joined Nov 17, 2002 Messages 2,746 Location England We don't encourage this sort of thing here on the forum as it can be used for unsavoury purposes such as keyloggers. Anyone who wishes to help aewarnick with this can do so in private message.
We don't encourage this sort of thing here on the forum as it can be used for unsavoury purposes such as keyloggers. Anyone who wishes to help aewarnick with this can do so in private message.