Hello everyone!
I've been asking for help with this over in the C# forum, but it was recommended that I post over here since the issues I'm now having are more with API functions. My original post is here:
http://www.thescripts.com/forum/thread742320.html
I need to interface with an application that has multiple MDI windows, and pull text information from the Edit controls in a specific window. The solution I put together was to use WindowFromPoint to get an initial Edit's handle, and then change X and Y coordinates to get others, since their relative locations will always be static. Using SendMessage with WM_GETTEXT worked to get the text out of some controls.
The problem is that there are different levels of access to the program I am interfacing with, and some users may have certain text fields and combo boxes disabled for them. WindowFromPoint will not return the handle for any disabled controls.
Is there a way to get around this?