0
votes

Is there a standard, built-in or library available for MFC where a combobox can list graphic icons instead of text or even something like a listview with text and icons instead of just text?

Just don't feel like reinventing the wheel with owner-draw type stuff if already done.

TIA!!

1

1 Answers

2
votes

Have a look at using CComboBoxEx.

To quote:

The extended combo box control is an extension of the standard combo box control that provides native support for item images. These images can be used to indicate the status of individual items in the combo box, such as the currently selected and unselected items. To make item images easily accessible, the control provides image list support.

Use this control to provide the functionality of a combo box without having to manually draw item graphics.