Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C++ Programming

screen scraping a Windows text box


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.

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

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/2007/01/16/spy-internals.aspx

Regards, Ron AF Greve

http://www.InformationSuperHighway.eu

<WFD@gmail.com> wrote in message

news:1180455312.337665.84800@p77g2000hsh.googlegroups.com...

thanks guys.
Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc