| View previous topic :: View next topic |
| Author |
Message |
STEPHANVS
Joined: 03 Mar 2007 Posts: 14 Location: Cluj-Napoca
|
Posted: Sat Apr 07, 2007 6:51 pm Post subject: Get data from custom drawn control... |
|
|
Is there any script command, algorithm, or any way to extract text/list/data from a custom, program drawn control?
(My control's ClassNN, from where I would like to get any kind of data, is an Afx:.... number... It's a ListView kind of control... SysListView321 doesn't work) |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Sun Apr 08, 2007 8:20 am Post subject: |
|
|
By definition, a custom drawn control uses data structure which is specific to the program that uses it. So there is no possible generic way to get this data. At best, you can try and get data with OpenProcess and ReadProcessMemory, but you have to know where to find this data... _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Roland
Joined: 08 Jun 2006 Posts: 244
|
Posted: Sun Apr 08, 2007 10:50 am Post subject: |
|
|
| Depending on what you're trying to do, an image matching approach could work... |
|
| Back to top |
|
 |
|