Discussion:
Displaying Window Icons in Listbox.
(too old to reply)
Nicky
2006-10-17 05:39:31 UTC
Permalink
i want to display local files and directories in a list box in my
program. i am able to retrieve tht but i want to display respective
icons against the file name.
File extensions can be retrieved using GetExtension in mfc.
i want to display the icons using Windows, NOT create my own bitmaps.
kindly suggest how to go about it.
lee
2006-10-21 23:50:22 UTC
Permalink
Post by Nicky
i want to display local files and directories in a list box in my
program. i am able to retrieve tht but i want to display respective
icons against the file name.
File extensions can be retrieved using GetExtension in mfc.
i want to display the icons using Windows, NOT create my own bitmaps.
kindly suggest how to go about it.
two suggestions:

write code to get the associated icons by looking in the registry

or

find an OCX control that does what you want

Loading...