Detecting text fields are a common job in Form Fillers for browse开发者_如何转开发rs. Is there a way to detect text fields and labels in an windows application using C++ or C#? I want to write an Auto Form Filler for windows applications.
Taking abmv's answer further, there are several tools for this, some for .NET, too:
- Windows Forms Spy
- .NET Control Inspector
- ManagedSpy in MSDN Magazine of April 2006
- Hawkeye
Spy++ itself can be found on Microsoft's website, the source code seems to be not available, but a similar tool has source code.
Try a tool like SPY++ you can see that it can detect lables
精彩评论