AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get data from custom drawn control...

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
STEPHANVS



Joined: 03 Mar 2007
Posts: 14
Location: Cluj-Napoca

PostPosted: Sat Apr 07, 2007 6:51 pm    Post subject: Get data from custom drawn control... Reply with quote

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
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sun Apr 08, 2007 8:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Roland



Joined: 08 Jun 2006
Posts: 244

PostPosted: Sun Apr 08, 2007 10:50 am    Post subject: Reply with quote

Depending on what you're trying to do, an image matching approach could work...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group