Combobox: Icons (similar to explorer)

gs_london

Newcomer
Joined
Apr 9, 2003
Messages
12
Location
London
Hi there,
Can anyone point me in the right direction on how to place images (icons) in a combo box similar to Internet Explorer or windows explorer. Have checked MSDN, The FAQ and searched this forum all drawing blanks.

Example code would be nice but just a clue as to where I can find information on this would be sufficient.

Thanks in advance
gs
 
You would have to make an owner drawn combobox, paint the images yourself. I dont know where you could find some tutorials about it but search google for owner draw comboboxes.
 
What im ultimately trying to do is drag and drop from a combo box to another control. Just looking at the way its already done there are two distinct ways to do it. By highlighting and dragging the text but the combobox doesnt have ItemDrag as far as I know and not sure how they manage to do that.

The other way is by dragging the icon that is in the combo box which I probably could get away with and I'm hoping that by adding an icon it exposes ItemDrag (possibly by adding an object to the combo box).

If anyone has any ideas on how I can achieve drag and drop from a combo box Id be happy to hear.

gs
 
Back
Top