| View previous topic :: View next topic |
| Author |
Message |
party5animal How do I cheat?
Reputation: 0
Joined: 14 Apr 2009 Posts: 4
|
Posted: Tue Dec 31, 2013 7:57 pm Post subject: Retrieving text/data from external TLabel |
|
|
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 |
|
 |
party5animal How do I cheat?
Reputation: 0
Joined: 14 Apr 2009 Posts: 4
|
Posted: Mon Jan 06, 2014 10:37 am Post subject: |
|
|
Am I allowed to bump?
If not, sorry. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25819 Location: The netherlands
|
Posted: Mon Jan 06, 2014 11:56 am Post subject: |
|
|
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 |
|
 |
party5animal How do I cheat?
Reputation: 0
Joined: 14 Apr 2009 Posts: 4
|
Posted: Mon Jan 06, 2014 3:42 pm Post subject: |
|
|
| 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 |
|
 |
party5animal How do I cheat?
Reputation: 0
Joined: 14 Apr 2009 Posts: 4
|
Posted: Thu Jan 16, 2014 1:24 am Post subject: |
|
|
| Bump for knowledge. |
|
| Back to top |
|
 |
|