how could i get the active window that text was typed in. So if they typed somthing in IE it would show as
[Internet Explorer] - Whatever they typed
I no this can be done...but how? :confused: :confused: :confused:
Printable View
how could i get the active window that text was typed in. So if they typed somthing in IE it would show as
[Internet Explorer] - Whatever they typed
I no this can be done...but how? :confused: :confused: :confused:
You'd need to use API functions, as you virtually always do when dealing with windows external to your application. You would use GetForegroundWindow to get a handle to the active window and GetWindowText to get its title bar text. I'm sure you'd find examples of using each with a forum search.