I need to get a copy of the entire contents of a textbox from inside a 3rd party Windows application.
Poker Stars is a major online poker site. Like all similar systems, it works in a client/server architecture where the client is a Windows application. The "Table Window" is the dialog box that the player interacts with during game playing. This dialog box includes a textbox where all game history is posted (it gets updated very frequently, namely every time a player at the table takes some action). I need to be able to somehow retrieve the text of that textbox on a regular basis (probably on a 2sec timer). I can work with either the whole text each time or everything that changed since the last update.
I don't care about the language or method used, as long as some API is made available to me that returns that String every time it is asked.
The PokerStars application can be download from [url removed, login to view] and used with no financial obligation ("play money" mode) for testing purposes.
The main deliverable is a DLL and its source code that exposes a function that:
- receives an input parameter with the Handle of the window that represents the table
- returns a string containing the entire text of the History Box of that window (either the entire text or all text that was added since the last call with same Handle was made)
- the function must respond within 2 seconds (i know that performance is not a problem cause i've done something similar with a different App, i'm just mentioning here).