Link to home
Start Free TrialLog in
Avatar of Knallar
KnallarFlag for Germany

asked on

Bitmap in a CCombobox

Hi!

How do I implement a bitmap or icon in a CCombobox...
source code would be great...
Avatar of psdavis
psdavis
Flag of United States of America image

Look at www.codeguru.com.  I believe that there are a lot of articles with full source code.

http://www.codeguru.com/combobox/index.shtml

Phillip
Take a specific look at "Icon Picker Combo Box" by Joel Wahlberg at the above address.  It's got a specific combobox with icon support.

You may also want to look at using a ListView control instead.  You'll have much more flexibility including bitmaps and icon support built in.  Take a look at the codeguru site

http://www.codeguru.com/listview/index.shtml

for a incredible list of capabilities that could be found very useful.

Phillip


Avatar of Knallar

ASKER

Hey... that was new.. (from Joel)

but... I need a combobox with icons PLUS text..
I never found an example with both built right in, but I would try combining the multi-column combobox idea with the icon idea.

Phillip
Avatar of Knallar

ASKER

yes... but not nice...
maybe I have to stick the text into the bitmap....


I agree.  At least you'd be up and running in moments vs. days.

Have you looked that the CListCtrl?

Phillip
Avatar of Knallar

ASKER

Not yet...
ASKER CERTIFIED SOLUTION
Avatar of prasanth
prasanth

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial