FrmIconHandler - Shell Extension
JP Mortiboys, 2001

Overview
--------

This icon handler adds per-file icons for frm files.
There are four main types of frm projects - the four you can choose from on creating a new project. This icon handler uses a different icon for each frm file depending on its type. Older or corrupt frm files with no defined type use a standard frm icon.

Note
----

The three icons in this dll were made by me. Like 'em?

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

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

Tweaking
--------

By default, the icons used for frm files are in the FrmIconHandler.dll file. To change this, create/edit 'IconFileList.ini' in the Windows directory (c:\Windows or c:\winnt in most cases) as follows:

[frm]
Default_IconFile=path/to/new/icon.ico
Default_IconIndex=index
MDIForm_IconFile=path/to/new/icon.ico
MDIForm_IconIndex=index
MDIChild_IconFile=path/to/new/icon.ico
MDIChild_IconIndex=index

(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).

******** NEW: ********
Custom icons
------------

To change the icons for frm files in a specific folder, create an 'IconFileList.ini' file within the folder. The default entries are the same as the entries for the 'main' IconFileList.ini, and you can also put the name of a specific frm file, like so:

[frm]
Default_IconFile=some_icon.ico
Default_IconIndex=0
fMainForm.frm=main_form_icon.ico
fMainForm.frm_Index=0

Note: After changing an .ini file, the icon cache needs to be refreshed before the icons will be changed.

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.