Mozilla will update this icon if you are using it's mail client. See the are instructions at http://www.os2bbs.com/os2news/Warpzilla.html (Note: if you use Mozilla installer, the first step doesn't need to be done.). I think that a Lotus product (CC-Mail?) also does this.To get this working with another mail client requires three things:
- Having a program object with an id of <CCINBOX> that opens your mail client.
- Somehow working out if there is mail available. There is an XCenter widget call "PMMail Biff" that does this using Rexx. You can get some ideas from this. It's at http://www.os2usr.org/xcenter/
- Telling the Warpcenter widget to change it's icon. On the Mozilla page above, you will find a link to a package that includes a program to test the icon change. Unfortunately, there's no source. I assume it sends a message to the WarpCenter to tell it to change, but, I can't tell what it is. If you ask on the Mozilla newsgroup, the developers should be able to tell you.
David