rvbfreak Posted June 20, 2010 Share Posted June 20, 2010 (edited) im trying to have my script create a first GUI, and when a button is pressed make another one. i used func button1() $win2=guictrlcreate("Window 2",100,100) endfunc but for some reason it wont work. what am i doing wrong? Edited June 20, 2010 by rvbfreak Link to comment Share on other sites More sharing options...
Yoriz Posted June 20, 2010 Share Posted June 20, 2010 (edited) When windows are created they are initially hidden so you must use GUISetState() to display them. func button1() $win2=GUICreate("Window 2",100,100) GUISetState() endfunc Edit : Good point below i just copied that bit without taking notice Edited June 20, 2010 by Yoriz GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
Mat Posted June 20, 2010 Share Posted June 20, 2010 Where did you find the function 'guictrlcreate'? AutoIt Project Listing 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