Jump to content
Sign in to follow this  
Armand

Is there a limit for control Creation ?!

Recommended Posts

Armand

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

Share this post


Link to post
Share on other sites
Armand

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

Share this post


Link to post
Share on other sites
Paulie

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.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.