Link to home
Start Free TrialLog in
Avatar of zhenteng
zhenteng

asked on

SetImageList

Does anybody knows... how come the colour of my icons were so ugly... as in not enough colour
when it's displayed on either a CListCtrl. It doesn't turns out to be as colourful as the actual *.ico file.
Instead, it becomes greyish... Is there a way to solve the problem.

The CListCtrl is supposed to list all files...juz like the Windows explorer. Thus, I loaded the *.ico for
File Folder, Text Document, Application and for the rest of file type, I use a generic icon file. Is there
a way to get the system's icon instead of loading every icons which may be rather tedious for me to
hard-code those file type.

Thanx in advance.
Avatar of chensu
chensu
Flag of Canada image

You can retrieve the icons using the SHGetFileInfo function.
ASKER CERTIFIED SOLUTION
Avatar of dvazquez
dvazquez

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