*.infoformat. All icons that the currently installed Workbench can read are supported. Thus, if you are on MorphOS or are using an appropriate patch, you could also use PNG icons here.
For best compatibility, however, you should stick to standard icons in the GlowIcon format.
The following special constants can be passed to
Note that you might need to call
SetWBIcon() several times in order to
achieve the desired effect. For example, if you'd like to change the app icon
and show it permanently, you first have to call
SetWBIcon() to set the
file to show and then you have to call
SetWBIcon() again and pass
to permanently show your app icon.
SetWBIcon("MyCoolProg.info")This code uses the program's icon as its default WB icon.