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.
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.
You can retrieve the icons using the SHGetFileInfo function.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.