BmpIconHandler - Shell Extension
JP Mortiboys, 2001

Overview
--------

This icon handler adds per-file icons for bmp files.
Having a static icon (the default) is ok, but sometimes when working with small bitmap files (icon-sized) it's nice to see what they are - having the bitmap as the icon. This is easy to do - just put "%1" in the DefaultIcon registry key. The problem with this is that for large (wallpaper-sized) bitmaps it takes a relatively long time to create the miniature and you can't see what it is anyway!
This Icon Handler fixes all that - for small (64x64 max) bitmaps the bitmap itself will be displayed, for large ones a static icon will be used.

Installation
------------

Copy 'BmpIconHandler.dll' to the system directory (c:\windows\system or c:\winnt\system32 in most cases) and install the 'BmpIconHandler_Install.reg' file (double-click the icon). Reboot.

Tweaking
--------

By default, the icon used for large bitmaps is the first icon in the .dll file, and the maximum size for a bitmap to be considered 'small' is 64x64. To change this, create/edit 'IconFileList.ini' in the Windows directory (c:\Windows or c:\winnt in most cases) as follows:

[bmp]
Default_IconFile=path/to/new/icon.ico
Default_IconIndex=index
MaxSize=new_maximum_size

(The index is used in the case of .icl or .dll files, if you're using an .ico then just ignore it or put 0).

Example : to set the default icon to c:\icons\nice_icon.ico and the max size to 32x32, the file should look like this:

[bmp]
Default_IconFile=c:\icons\nice_icon.ico
MaxSize=32

Comments and such are welcome - write to me at jpm@programmer-general.com
Check out www.programmer-general.com for more of my shell extensions.