jennico Posted April 16, 2007 Share Posted April 16, 2007 hi there, i tested the limits of the control max and managed to declare 4103 static controls. for counting i used the function i found here in the forum: Func _ControlGetCount($hWndGUI,$sType='') If $sType='' Then _ Return UBound(StringSplit(StringTrimRight(WinGetClassList($hWndGUI),1),@LF))-1 For $iCC=1 To 4095 If ControlGetHandle($hWndGUI,'',$sType&$iCC)=0 Then Return $iCC-1 Next Return SetError(1,0,'') EndFunc is this result just weird or is there a reason for exeeding the limit ? j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 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