09-17-2014, 03:38 AM
ComboBox and ListBox controls can display icons if they have owner-draw style. Then need to create code to draw icons. Quite much work.
Alternative: use SysListView32 control instead of ListBox. Use ComboBoxEx32 control instead of ComboBox. These controls support imagelists. Quite much work too.
To get file type icon:
Macro Macro2418
Alternative: use SysListView32 control instead of ListBox. Use ComboBoxEx32 control instead of ComboBox. These controls support imagelists. Quite much work too.
To get file type icon:
Macro Macro2418