Armand Posted August 25, 2007 Share Posted August 25, 2007 (edited) my prob is that like the following i can see the icon, but it's not clickable (as if disabled!) GUICtrlSetPos($ThumbsToggleIcon, $Left + 4, $SearchGroupY + 16) GUICtrlSetImage($ThumbsToggleIcon, "C:\SKS-SHIT\AU3 in progress\SORT_ASC.ico", 0) GUICtrlSetOnEvent($ThumbsToggleIcon, "ThumbsToggleClick") GUICtrlSetState($ThumbsToggleIcon, $GUI_SHOW) GUICtrlSetState($ThumbsToggleIcon, $GUI_ENABLE) nowhere !!! any idea ?! seems to me like there is a control creation limit ... is there ?! Edited August 25, 2007 by Armand [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
Armand Posted August 25, 2007 Author Share Posted August 25, 2007 (edited) crazy hell i had to use that: GUICtrlSetPos($ThumbsToggleIcon, $Left + 4, $SearchGroupY + 16) GUICtrlSetImage($ThumbsToggleIcon, "C:\SKS-SHIT\AU3 in progress\SORT_ASC.ico", 0) GUICtrlSetOnEvent($ThumbsToggleIcon, "ThumbsToggleClick") GUICtrlSetState($ThumbsToggleIcon, $GUI_SHOW) GUICtrlSetState($ThumbsToggleIcon, $GUI_ENABLE) ________________ editted: seems to me like there is a control creation limit ... is there ?! Edited August 25, 2007 by Armand [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
Paulie Posted August 25, 2007 Share Posted August 25, 2007 seems to me like there is a control creation limit ... is there ?!yes-----Maximum number of GUI windows: 1024Maximum number of GUI controls per window: 4096-----Found here:http://www.autoitscript.com/autoit3/docs/faq.htm#15If you aren't passing that limit, perhaps your control is being overlapped by another, transparent one. this is a common mistake, however, the only way to know for sure is to see your code in it's entirety. Link to comment Share on other sites More sharing options...
Zedna Posted August 25, 2007 Share Posted August 25, 2007 Try: GUICtrlSetImage($ThumbsToggleIcon, "C:\SKS-SHIT\AU3 in progress\SORT_ASC.ico") Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now