Click to See Complete Forum and Search --> : Button's text different than its caption


MXPguru
September 23rd, 2005, 05:09 AM
Ok. In a board game that i play online there are several buttons used to display players' names in columns and other things. I checked it through Spy++ that these are buttons. Now in game the buttons' captions are players' names. But when i send WM_GETTEXT message to these buttons, it gives me "NewBtn" for all buttons. Spy++ is also giving me the same text. Why is this so? I want to get playerss names, scores, etc.

Marc G
September 23rd, 2005, 05:13 AM
Probably they are rendering the buttons themself and storing the strings somewhere else and not in the button itself.

MXPguru
September 23rd, 2005, 05:25 AM
Is there any way to get that text?

Marc G
September 23rd, 2005, 05:29 AM
Without knowing the internal workings of the game I think it will be impossible or at least very difficult.

MXPguru
September 23rd, 2005, 05:38 AM
I don't care if it is difficult.

MXPguru
September 25th, 2005, 05:34 AM
So if anybody could help on this?

ovidiucucu
September 25th, 2005, 05:42 AM
So if anybody could help on this?
I think, no.
That implies some "hacking" activity as Marc G already suggested.

MXPguru
September 25th, 2005, 06:52 AM
Thanks for your reply. Thanks Marc G.