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 

A_GuiControl - more than 63 characters?

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



Joined: 17 Jul 2008
Posts: 225

PostPosted: Thu Jan 14, 2010 7:19 pm    Post subject: A_GuiControl - more than 63 characters? Reply with quote

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 Laughing ):
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..
Back to top
View user's profile Send private message Visit poster's website
[VxE]



Joined: 07 Oct 2006
Posts: 3254
Location: Simi Valley, CA

PostPosted: Fri Jan 15, 2010 4:44 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
DHMH



Joined: 17 Jul 2008
Posts: 225

PostPosted: Fri Jan 15, 2010 9:57 am    Post subject: Reply with quote

mmh...
I will try it @ home, later...
Thank you!
lg DHMH
Back to top
View user's profile Send private message Visit poster's website
DHMH



Joined: 17 Jul 2008
Posts: 225

PostPosted: Sat Jan 16, 2010 11:11 am    Post subject: Reply with quote

thank you, it's working!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
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