John,
Can't quite see what your reply actually was.
The only comment I can see in your post was :
"Note that (I think) these indexes start from 0, i. e. the first one is
0, the second 1, the third 2 ..."
I rather thought this would be self-evident as when I quoted that if the file in
question was a [simple] icon file, then the line should read : IconIndex=0 ...(as
[most] icon files contain only 1 icon).
Therefore; if a file containing only 1 icon is specified as IconIndex=0 then, by
implication, in a [.dll] file (icon library) icon 1 is specified as IconIndex=0
However, in addition to specifying the icon number in this way, each icon is given a
numerical "name" which can be different from it's actual numerical "position".
To specify the number is the icon's "name" rather than it's "position", a hyphen is
placed before the icon number.
e.g. The red "No-Entry" icon within [shell32.dll] is the 110th icon,
but because icon #1 is referred to as #0, therefore;
IconIndex=109
However, it also has a numerical "name" which, in this case is;
IconIndex=-338
Specifying either will display the same icon.
*NB Please note the hyphen between the [=] and the icon number.
==
Cheers, Tim Meddick, Peckham, London.