Control Listbox
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hello. Can anybody tell me how-to add a icon to control listbox in MFC? Thanks, Caleb
-
Hello. Can anybody tell me how-to add a icon to control listbox in MFC? Thanks, Caleb
Use a CComboBoxEx instead, which has built-in support for images. --Mike-- http://home.inreach.com/mdunn/ A recent survey reports that 1/4 of all internet users in England surf for porn. The other 3/4 just didn't want to admit it.
-
Hello. Can anybody tell me how-to add a icon to control listbox in MFC? Thanks, Caleb
You have two options: 1) use owner-draw. In this scenario you're responsible for drawing listbox items; you can draw text, icons, whatever you want 2) switch to CListCtrl. This control can display item images. Tomasz Sowinski -- http://www.shooltz.com