finding a textbox handle
-
im trying to write a simple app that will find the handle to a textbox of my choice so i can have it type in text for me (ie, im trying to make a app to enter a password at a login screen on my game). any ideas on how i can do this? im lost here on where to begin. Is it possible to find the textbox at a certain mouse cord? Its been a while since i have done any programming, but its slowly coming back to me. Thanks alot for your time everyone, ~jesse The Code Project Is Your Friend...
-
im trying to write a simple app that will find the handle to a textbox of my choice so i can have it type in text for me (ie, im trying to make a app to enter a password at a login screen on my game). any ideas on how i can do this? im lost here on where to begin. Is it possible to find the textbox at a certain mouse cord? Its been a while since i have done any programming, but its slowly coming back to me. Thanks alot for your time everyone, ~jesse The Code Project Is Your Friend...
Have you looked at Spy++? It does what you want and more. I don't know if there are any managed APIs to do what you want. You might have to P/Invoke WindowFromPoint[^] instead. Regards Senthil _____________________________ My Blog | My Articles | WinMacro