Jump to content
Sign in to follow this  
telmob

ComboBox Height value??

Recommended Posts

telmob

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

Share this post


Link to post
Share on other sites
UEZ

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
telmob

Thanks! That was helpful.

The helpfile example doesn't work for a normal combo.

GUICtrlCreateCombo ( "text", left, top [, width [, height [, style [, exStyle]]]] )

Share this post


Link to post
Share on other sites
Syed23

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 by Syed23

Thank you,Regards,[font="Garamond"][size="4"]K.Syed Ibrahim.[/size][/font]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×