Jump to content
Sign in to follow this  
Kip

Small Combobox

Recommended Posts

Kip

Hi,

I'm trying to create a combobox which is 16 pixels high.

But GUICtrlCreateCombo, _GUICtrlComboBox and _GUICtrlComboBoxEx wont go any smaller than 21 pixels.

Posted Image

Thnx, Kip :)

Edited by Kip

Share this post


Link to post
Share on other sites
monoceres

Try out $CBS_NOINTEGRALHEIGHT, I think it will do the trick :)


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
monoceres

nope, that will only remove the dropdown button

Hmm I don't think it's possible in pure autoit then... Koda refuses to change the height of the combo :)


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
ProgAndy

Why would you need a small ComboBox?


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites
martin

for a properties control

The height of a combobox is determined by the font size afaik, so to make it 16 high you will need to set a very small font size.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
ProgAndy

hmmm.

If you have no Images, you could use this:

; Larger Height
    $hImage = _GUIImageList_Create (1,24,4,0,1,1)
    _GUICtrlListView_SetImageList ($PropertyList, $hImage, 1)

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

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  

×