Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Retrieving text/data from external TLabel

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
party5animal
How do I cheat?
Reputation: 0

Joined: 14 Apr 2009
Posts: 4

PostPosted: Tue Dec 31, 2013 7:57 pm    Post subject: Retrieving text/data from external TLabel Reply with quote

I've tried using automation tools to aquire the control class, handle, etc., but realized that the TLabel isn't automation friendly... as I verified on the delphi about . com website article named "TLabel, TStaticText - Delphi Label Control Usage, Tips and Tricks" (I cant post links)

How would I retrieve information from a TLabel? Would I have to hook into a certain windows function to peek at the parameters as it is updated?
Back to top
View user's profile Send private message
party5animal
How do I cheat?
Reputation: 0

Joined: 14 Apr 2009
Posts: 4

PostPosted: Mon Jan 06, 2014 10:37 am    Post subject: Reply with quote

Am I allowed to bump?

If not, sorry.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25819
Location: The netherlands

PostPosted: Mon Jan 06, 2014 11:56 am    Post subject: Reply with quote

A tlabel tends to be a normal window so find the window of that tlabel and get the title of that window
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
party5animal
How do I cheat?
Reputation: 0

Joined: 14 Apr 2009
Posts: 4

PostPosted: Mon Jan 06, 2014 3:42 pm    Post subject: Reply with quote

Dark Byte wrote:
A tlabel tends to be a normal window so find the window of that tlabel and get the title of that window


The problem, @Dark_Byte is that there is no handle associated with TLabels. I believe they are drawn on the window using graphical functions.

Edit: I found this after a little more searching:
functionx. com/cppbuilder/controls/label. htm

As seen there, it is derived from a TGraphicControl, which uses some draw functions to display it on the screen[/code]
Back to top
View user's profile Send private message
party5animal
How do I cheat?
Reputation: 0

Joined: 14 Apr 2009
Posts: 4

PostPosted: Thu Jan 16, 2014 1:24 am    Post subject: Reply with quote

Bump for knowledge.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites