woleium Posted March 19, 2008 Share Posted March 19, 2008 Is it possible make a combo box that is not editable? $res_select = GUICtrlCreateCombo("640 x 480", 30, 30, 100, 25) GUICtrlSetData($res_select,"800 x 600|1024 x 768|1280 x 1024|1600 x 1200|Full Screen") allows the user to edit the contents of the box. How do i stop them from being able to do this? Link to comment Share on other sites More sharing options...
Valuater Posted March 19, 2008 Share Posted March 19, 2008 Maybe.... #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 447, 193, 115) $res_select = GUICtrlCreateCombo("", 168, 80, 145, 25,$CBS_DROPDOWNLIST) GUICtrlSetData($res_select,"800 x 600|1024 x 768|1280 x 1024|1600 x 1200|Full Screen") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd 8) 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