Helge Posted March 15, 2006 Share Posted March 15, 2006 I don't want to create a topic just for this, so here's two questions for jpm :GUICtrlGetStateI noticed that the helpfile said that "controlID" was optional, so I tested it.AutoIt didn't complain, but it made me wonder what exactly does without a cid.GUICreateThis idea would most likely break every GUI-script there is that uses styleson the GUI itself, but shouldnt the 'left'- and 'top'-parameters follow the samerules as WinMove ? You know, -1 versus Default ? Link to comment Share on other sites More sharing options...
jpm Posted March 15, 2006 Share Posted March 15, 2006 I don't want to create a topic just for this, so here's two questions for jpm :GUICtrlGetStateI noticed that the helpfile said that "controlID" was optional, so I tested it.AutoIt didn't complain, but it made me wonder what exactly does without a cid.GUICreateThis idea would most likely break every GUI-script there is that uses styleson the GUI itself, but shouldnt the 'left'- and 'top'-parameters follow the samerules as WinMove ? You know, -1 versus Default ?GUICtrlGetState() use the same rule as other GUICtrl... i.e. the previous defined GUICtrlCreate... as stated in the doc. Perhaps not very useful but coherent with other functions.GUICreate is a little different than WinMOve as it is creating the window so the -1 was defined well before the introduction of the default keyword that could have been used. Not sure it would useful to change it now. 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