 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ryan Styles Guest
|
Posted: Mon Jan 09, 2006 3:17 pm Post subject: FindWindowEx |
|
|
Hi folks.
I am trying to get the text out of the bottom text window from the
TeamSpeak 2 client, but my code simply is not working. Any help on
this would be wonderful as I am at a loss here.
code:
Wnd := FindWindow('TMAINFORM', 'TeamSpeak 2');
TSLogChild := FindWindowEx(Wnd, 0, 'TRichEditWithLinks',
'reMessages');
SendMessage(TSLogChild, WM_GETTEXT, SizeOf(Buffer),
Integer(@Buffer));
//GetWindowText(TSLogChild, Buffer, 255);
Memo1.Text := Buffer;
code:
The buffer is always empty. This works with Notepad, but I cannot get
it to work with the TS2 (http://www.goteamspeak.com/) client at all.
The window names I have I got from MS-Spy++.
Thanks in advance,
Ryan
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|