Rishav Posted July 30, 2009 Share Posted July 30, 2009 (edited) When I do GUICtrlGetState($combo) for a combo field, the values i get is 80 or 144 depending on whether the field is enabled or disabled.Why these numbers?the hepfile says"Success: Returns the state. See GUICtrlSetState for values. Failure: Returns -1 if control is not defined. "But in the page for GUICtrlSetState , no number definitions are provided. I guess I was expecting something like a string as output.regardsRishav Edited July 30, 2009 by Rishav Link to comment Share on other sites More sharing options...
99ojo Posted July 30, 2009 Share Posted July 30, 2009 When I do GUICtrlGetState($combo) for a combo field, the values i get is 80 or 144 depending on whether the field is enabled or disabled.Why these numbers?the hepfile says"Success: Returns the state. See GUICtrlSetState for values. Failure: Returns -1 if control is not defined. "But in the page for GUICtrlSetState , no number definitions are provided. I guess I was expecting something like a string as output.regardsRishavHi,just open GUIConstantsEx.au3 in SciTe and you will see:80 = Const $GUI_SHOW + Const $GUI_ENABLE = 16 + 64144 = Const GUI_SHOW + Const $GUI_DISBALE = 16 + 128;-))Stefan Link to comment Share on other sites More sharing options...
Rishav Posted July 30, 2009 Author Share Posted July 30, 2009 ugh.... that makes me feel stupid.... o.0 thanks for the help. PS. didn't you reply in my other thread? 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