aewarnick Posted June 9, 2003 Posted June 9, 2003 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? C#
*Experts* Nerseus Posted June 9, 2003 *Experts* Posted June 9, 2003 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 "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
aewarnick Posted June 9, 2003 Author Posted June 9, 2003 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. C#
*Gurus* divil Posted June 9, 2003 *Gurus* Posted June 9, 2003 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. MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts