Page 2 of 2

Re: ComboBox with large icons

Posted: Sun Mar 07, 2021 3:01 pm
by IdeasVacuum
Hi Rashad

Yep: SetWindowTheme_(iToolTipID, "", "")

However, if I comment that out, makes no difference to the combos.

Debug SendMessage_(GadgetID(#Combo1), #CB_SETMINVISIBLE, 10, 0) returns 1

Debug SendMessage_(GadgetID(#Combo1), #CB_SETITEMHEIGHT, 0, igCbHgt) returns -1 (should be 0?)

Re: ComboBox with large icons

Posted: Sun Mar 07, 2021 3:06 pm
by IdeasVacuum
I think I might as well DIY the combos with HTML tables.

Re: ComboBox with large icons

Posted: Sun Mar 07, 2021 3:30 pm
by RASHAD
Last round :)
Use 100 for #combo
200 for #combo1
forget about enumeration
Let us see what will happen

Re: ComboBox with large icons

Posted: Sun Mar 07, 2021 3:46 pm
by IdeasVacuum
.... no difference :mrgreen:

Seriously weird.

Re: ComboBox with large icons

Posted: Sun Mar 07, 2021 9:19 pm
by breeze4me
IdeasVacuum wrote: Image

Debug SendMessage_(GadgetID(#Combo1), #CB_SETITEMHEIGHT, 0, igCbHgt) returns -1 (should be 0?)
The result is similar to the use of the #CBS_OWNERDRAWARIABLE constant.
Make sure that #CBS_OWNERDRAWFIXED is used, not #CBS_OWNERDRAWVARIABLE.

Re: ComboBox with large icons

Posted: Sun Mar 07, 2021 10:21 pm
by IdeasVacuum
OMG Breeze4me!

I said it has to be something subtle, right under my nose - and that was it!

So you have scored an equaliser in the last seconds of time added on :mrgreen: