troubleshooting Question

Find TEdit window handle

Avatar of Mike Littlewood
Mike LittlewoodFlag for United Kingdom of Great Britain and Northern Ireland asked on
Delphi
7 Comments1 Solution2609 ViewsLast Modified:
I am trying to send Windows messages to controls in an external Delphi application. I was hoping I would be able to determine the windows handle of the controls using a combination of class name and window name in a call to findWindowEx. Unfortunately, for controls such as TComboBox and TEdit the 'window name' always seems to be blank meaning I cannot successfully locate a specific control instance.

In the case of TEdit controls it looks as though the 'window name' value corresponds to TEdit.Text rather than the TEdit.Name property I was hoping for. Is this correct and if so how can I obtain the handle to a TEdit control in an external application?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros