|
-
May 6th, 2009, 04:41 AM
#1
How to get delphi's edit-control text?
Hi all!
Is there any way to retrieve text from the delphi TTntEdit control, with
win32?
The problem is that I want to get information from external application, which is written in delphi. Delphi uses VCL controls which encapsulate all the win32 messages handling. So except from the control handle (HWND) I don't have any other information and cann't retrieve it using standard win32messages.
So sending WM_GETTEXT, or GetWindowText is not work here...
Does someone know a way to do it??
Thanks!
-
May 6th, 2009, 06:11 AM
#2
Re: How to get delphi's edit-control text?
By using a tool spying the controls of runnning applications, you should be able to find the handle of the editbox at the core of TTntEdit control and then use GetWindowText(). Or you could enumerate child windows until you find the editbox at the source of TTntEdit control.
-
May 6th, 2009, 06:31 AM
#3
Re: How to get delphi's edit-control text?
I used spy++ to get the TTntEdit control handle. But it doesn't has any child windows...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|