Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Jul : Is there any unique identifier for an edit field contains in another win32 app?
| Subject: | Is there any unique identifier for an edit field contains in another win32 app? |
| Posted by: | "M Tuttle" (mik..@softtechks.com) |
| Date: | Wed, 13 Jul 2005 14:10:34 |
Greetings All,
I need to be able to read edit field data from another win32 application. I
have tried everything I can think of to find some way of uniquely
identifying an edit field on the other application so that I can read the
text values from the fields into my application. I have no problems looking
thru the fields in the other app and reading the values, I just can't figure
out how to uniquely match the field values in my app with the values
retrieved form the other app.
I only want to setup the link once between my Delphi app and another win32
app and then it should work without the need to set it up every time the
other application is restarted.
I thought I had a solution by using EnumChildWindows because I can store the
Class Type for the field and the Control ID, but the Control ID changes
after every restart.
So bottom line is the only think I can think of now is to find some other
way to uniquely identify the edit fields on a form. So if I have 3 edit
fields I will know which edit field text value belong to which field in my
Delphi app.
Anyone have any pointers at all to help me out on this?
Thanks,
--
Michael Tuttle
Software Technologies, Inc.
Topeka, KS