Override default iconhandler for *.bmp type

Steve H 21 Reputation points
2021-02-09T15:42:49.813+00:00

I have written an Iconhandler for my own file type, following the steps in the "Recipe" sample code. It works fine and displays my files with their correct icons. Now I wanted to override the default "*.bmp" handler that Windows apparently provides, with one of my own (adds a frame to the icon image, for example). So I added the Iconhandler to the bmpfile (the alias for *.bmp files) registry entry, but it is not being used. The default handler overrides it. Is there some way to get MY bitmap file handler to be used, rather than the default. Here is the bmpfile registry entry I added:

bmpfile
DefaultIcon
ShellEx
IconHandler (default value is my icon handler dll, which is registered etc.)

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 questions
{count} votes