I have a program producing several files with different extensions. I am using CFile class to read&write files. I want my files with different extensions have different icons. How can i do this?
Printable View
I have a program producing several files with different extensions. I am using CFile class to read&write files. I want my files with different extensions have different icons. How can i do this?
Just change in HKEY_CLASSES_ROOT registry key location of the new icon assigned to "your" file extension.
Take a look to shell extension:
http://msdn.microsoft.com/library/de.../extending.htm
Example you can find in chapter Customizing Icons
Good luck