Burgs Posted September 3, 2012 Share Posted September 3, 2012 Hello, Can somebody explain how it is possible to 'hide' a Combox Control using the "GUICtrlSetState" command? I have tried to do so with Comboboxes created using both "_GUICtrlComboBoxEX_Create" and "_GUICtrlComboBox_Create" without success...why do these seem to act differently from other controls? Thanks in advance... example: Global $MainGUI = GUICreate("Example", 425, 540) GUISetState(@SW_SHOW) $_textsize1 = _GUICtrlComboBoxEX_Create($MainGUI, "", 75, 300, 40, 300) _GUICtrlComboBoxEx_AddString($_textsize1, "6") _GUICtrlComboBoxEx_AddString($_textsize1, "7") _GUICtrlComboBoxEx_AddString($_textsize1, "7.5") GUICtrlSetState($_textsize1, $GUI_HIDE) Link to comment Share on other sites More sharing options...
ahmet Posted September 3, 2012 Share Posted September 3, 2012 GUISetState() affects only controls created with GUICtrlCreate... Try with WinSetState() Link to comment Share on other sites More sharing options...
Burgs Posted September 3, 2012 Author Share Posted September 3, 2012 Thanks, that helped a lot...and good info to know. Much appreciated! 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