Jump to content

Recommended Posts

Posted (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 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 ?!

Posted (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 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 ?!

Posted

seems to me like there is a control creation limit ... is there ?!

yes

-----

Maximum number of GUI windows: 1024

Maximum number of GUI controls per window: 4096

-----

Found here:

http://www.autoitscript.com/autoit3/docs/faq.htm#15

If 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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...