telmob Posted October 10, 2011 Share Posted October 10, 2011 Hi! I'm trying to build a specific combo but the height value doesn't seem to have any effect. How can i make a combo with a specific height?? Also, are there any UDFs for theming combo boxes? Example combo, notice the (550) height value: #include <ComboConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Gui = GUICreate("", 615, 438, 454, 265) $Combo = GUICtrlCreateCombo("Text Here", 168, 208, 289, 550) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch Wend Link to comment Share on other sites More sharing options...
UEZ Posted October 10, 2011 Share Posted October 10, 2011 Look at _GUICtrlComboBox_SetItemHeight() function. Br,UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
telmob Posted October 10, 2011 Author Share Posted October 10, 2011 Thanks! That was helpful. The helpfile example doesn't work for a normal combo. GUICtrlCreateCombo ( "text", left, top [, width [, height [, style [, exStyle]]]] ) Link to comment Share on other sites More sharing options...
Syed23 Posted October 10, 2011 Share Posted October 10, 2011 (edited) No! i could able to do! use the $GUI_DOCKHEIGHT style value and check it will work. something like this.... GUICtrlCreateCombo("item1", 10, 10,289,550,$GUI_DOCKHEIGHT) Edited October 10, 2011 by Syed23 Thank you,Regards,[font="Garamond"][size="4"]K.Syed Ibrahim.[/size][/font] 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