AutoHotkey Community

It is currently May 27th, 2012, 1:40 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: January 14th, 2010, 8:19 pm 
Offline

Joined: July 17th, 2008, 9:46 am
Posts: 225
Hi,
in the help I found this:
Quote:
A_GuiControl instead contains the first 63 characters of the control's text/caption

wtf.. Is there a way to avoid this? To use more than 63 characters?
Code:
ControlGetText,filetest,Static1
doesn't came up for me because i dont know the Static thing.. So i dont know if its Static1 or 7 or 9, etc.
And I noticed a bug (or a feature :lol: ):
Code:
GuiControlGet,outputvar,command,controlid

don't work:
Quote:
Parameter #2 is invalid

wtf..
thx in advance!
lg DHMH

PS:
There must be Something for A_GuiControl because there is a dynamic list of pictures..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2010, 5:44 am 
Offline
User avatar

Joined: October 7th, 2006, 8:45 am
Posts: 3330
Location: Simi Valley, CA
You can always use the 'HWNDvarname' option when creating the controls. Of course, this doesn't help with GuiControl (you'll have to use Control instead). If you want to know which picture the user clicked, MouseGetPos has an option to retrieve the control's HWND.

_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2010, 10:57 am 
Offline

Joined: July 17th, 2008, 9:46 am
Posts: 225
mmh...
I will try it @ home, later...
Thank you!
lg DHMH


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2010, 12:11 pm 
Offline

Joined: July 17th, 2008, 9:46 am
Posts: 225
thank you, it's working!


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], bobbysoon, iDrug, JSLover, Tipsy3000, Yahoo [Bot] and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group