PDA

View Full Version : VB6 - GETTEXT does not work, is there another way?


nightthepope
05-10-2006, 02:04 AM
I've got a problem.

I'm trying to read the text from another program, the poker.com chatbox.

I tried using gettext with sendmessage but it doesn't seem to work as the chatbox window class is SWT_Window0.

Is there anyway I can do this?

Stevven
10-25-2006, 10:08 PM
I started working on this same issue two days ago.

I haven't found a general way to retrieve text from a SWT_Window0. Have you? I'm still interested in doing that.

However, I have come up with a way to read the text in the particular window you were trying to read last year. It's not very ellegant, but it works. Right click in that window, and I suspect you'll get an idea of how to retrieve the text automagically.

adityargupta
01-14-2009, 07:15 AM
Hi nightthepope,

Were you able to gettext from the SWT_Window0 control. I am also trying to do the same.
Please let me know how you did that.

Thanks and regards,
Aditya