Default File Icon

  • Thread starter Thread starter Mike Bulava
  • Start date Start date
M

Mike Bulava

Ok I know this was posted before but I can't find it in my reader.

How can you get the Default Icon for a file programmticly so that I can just
throw the Icon in to a item for a listview?

Thanks,
Mike
 
Use the SHGetFileInfo function with the SHGFI_ICON constant to retrieve a
handle to the icon representing the file.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top