Archive: setting icons


setting icons
Hi,

I have an application that can open more than one file type. I want to be able to set the icon for each file type separately. For example, my application can open file extensions .pdw and .cdw, and I want to have different icons for each of these extensions. How can I do this?

Any suggestions are greatly appreciated.

Thanks,
Derek


one progid per filetype

HKCR\.foo\ = foofile
HKCR\foofile\defaulticon\ = ...

HKCR\.bar\ = barfile
HKCR\barfile\defaulticon\ = ...

http://msdn.microsoft.com/en-us/libr...48(VS.85).aspx