By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,376 Members | 1,559 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,376 IT Pros & Developers. It's quick & easy.

screen scraping a Windows text box

P: n/a
I want to write or obtain C++ code that will scrape text from a dialog
box within a poker client, and then record that text somewhere else.

What do I do? Thanks.

May 29 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On May 29, 12:15 pm, WFD...@gmail.com wrote:
I want to write or obtain C++ code that will scrape text from a dialog
box within a poker client, and then record that text somewhere else.

What do I do? Thanks.
You need to post in a newsgroup that deals with Windows.
Something with microsoft or dos or windows in the name.
Here we speak about the standard C++ language.

Try searching at groups.google.com for a news group that
deals with the kind of thing you are dealing with.
Socks

May 29 '07 #2

P: n/a
Hi,

Assuming MS-Windows every window has an id. You have to try to get the id of
the window somehow from the window hierarchy. After that GetWindowText might
get the text.

Or if you know the class name and window name use findwindow to get a handle
to the window.

Microsoft Spy++ utility might help a bit.

Things to lookup on MSDN
FindWindow
GetWindowText
Spy++

And maybe the following link:

http://blogs.msdn.com/vcblog/archive...internals.aspx

Regards, Ron AF Greve

http://www.InformationSuperHighway.eu

<WF****@gmail.comwrote in message
news:11*********************@p77g2000hsh.googlegro ups.com...
>I want to write or obtain C++ code that will scrape text from a dialog
box within a poker client, and then record that text somewhere else.

What do I do? Thanks.

May 29 '07 #3

P: n/a
thanks guys.

May 29 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.