Sign in to follow this  
Followers 0
Madza91

Combo Height !?

7 posts in this topic

How can I change height of guictrlcreatecombo (so it's not fixed size 21) ?!

GUICtrlCreateCombo("Combo1", 100, 100, 200, 25)


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites



No ;/


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites

How can I change height of guictrlcreatecombo (so it's not fixed size 21) ?!

GUICtrlCreateCombo("Combo1", 100, 100, 200, 25)

GuiComboBox UDF in helpfile guys

#include <GUIComboBox.au3>
#include <GuiConstantsEx.au3>

GUICreate("ComboBox Set Item Height", 400, 296)
$hCombo = GUICtrlCreateCombo("", 2, 2, 396, 296)
GUISetState()

_GUICtrlComboBox_BeginUpdate($hCombo)
_GUICtrlComboBox_AddDir($hCombo, @WindowsDir & "\*.exe")
_GUICtrlComboBox_EndUpdate($hCombo)

; Set Item Height (selection field)
_GUICtrlComboBox_SetItemHeight($hCombo, 16, 0)

; Set Control Height
_GUICtrlComboBox_SetItemHeight($hCombo, 25, -1)

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE

I see fascists...

Share this post


Link to post
Share on other sites

Oh yes, thank you rover! i luv u :)


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites

Oh yes, thank you rover! i luv u :)

no problem

btw

did the solution ProgAndy posted for getting that toolbar button separator line work for you?

I couldn't get the line to appear with several visual styles on two xp machines, so I don't know what

conditions or toolbar styles made it work.

no response to my question either.

cheers


I see fascists...

Share this post


Link to post
Share on other sites

Not wokring for me either... i answered now in there


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

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  
Followers 0