Re: Displaying Window Icons in Listbox.




Tony Thomas wrote:
Send this message WM_GETICON,Use SendMessageTimeout
<nemesia31@xxxxxxxxx> wrote in message
news:1161063177.331791.48490@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.




i want to map file extension to the icons associated with it, the way
window does.

.



Relevant Pages

  • Re: Displaying Window Icons in Listbox.
    ... i am able to retrieve tht but i want to display ... icons against the file name. ... File extensions can be retrieved using GetExtension in ... i want to display the icons using Windows, ...
    (microsoft.public.vc.language)
  • Re: Displaying Window Icons in Listbox.
    ... i am able to retrieve tht but i want to display respective ... File extensions can be retrieved using GetExtension in mfc. ... i want to display the icons using Windows, ...
    (microsoft.public.vc.mfc.docview)
  • Re: Displaying Window Icons in Listbox.
    ... Send this message WM_GETICON,Use SendMessageTimeout ... i am able to retrieve tht but i want to display respective ... i want to display the icons using Windows, ...
    (microsoft.public.vc.mfc)
  • Re: Displaying Window Icons in Listbox.
    ... the datatype tht i recieve by using SHGetFileInfo is HICON. ... is there anyway tht i can display icons using LV_ITEM???? ... i am able to retrieve tht but i want to display respective ...
    (microsoft.public.vc.mfc)
  • Displaying Window Icons in Listbox.
    ... i want to display local files and directories in a list box in my ... i am able to retrieve tht but i want to display respective ... i want to display the icons using Windows, ...
    (microsoft.public.vc.mfc)