ComboBox with large icons

Windows specific forum
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: ComboBox with large icons

Post 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?)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: ComboBox with large icons

Post by IdeasVacuum »

I think I might as well DIY the combos with HTML tables.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
RASHAD
PureBasic Expert
PureBasic Expert
Posts: 4636
Joined: Sun Apr 12, 2009 6:27 am

Re: ComboBox with large icons

Post by RASHAD »

Last round :)
Use 100 for #combo
200 for #combo1
forget about enumeration
Let us see what will happen
Egypt my love
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: ComboBox with large icons

Post by IdeasVacuum »

.... no difference :mrgreen:

Seriously weird.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
breeze4me
Enthusiast
Enthusiast
Posts: 511
Joined: Thu Mar 09, 2006 9:24 am
Location: S. Kor

Re: ComboBox with large icons

Post 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.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: ComboBox with large icons

Post 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:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply