Adding a button to the toolbar question

Hi all,

I have a couple questions about adding a new button to one of the Notes toolbars, as well as a potential bug.

To start off, I am trying to add my own custom button to the “Navigate View” toolbar. I am trying to accomplish this via the “Preferences → Toolbar → Customize” GUI in Notes.

I can successfully add my own icon to the icon library (“New Button” → “Change Icon” → “New”). It is a 19x19 GIF with transparent background.

However, when I select this newly created icon from the list, I get a completely different icon selected. This doesn’t happen with pre-existing icons, only the new icon that I created.

This seems like a bug, but maybe I’m doing something wrong. Could somebody shed some light on this? Also, if anyone would like to see screenshots of this, please let me know and I will email them.

Finally, my main question has to do with creating & adding my own button to a user’s Notes toolbar programmatically. Is this possible? If so, I’d greatly appreciate some pointers.

Kind regards,

Mani

Subject: Bug worked around …

Regarding the bug with the wrong icon showing up. My image filename was “logo.gif”. Renaming this to something else fixed the issue.

Subject: logo.gif - not a bug

If your image was named “logo.gif”, that’s not a bug.When you add a custom image for a toolbar button, the image is stored as an image resource in your local “bookmark.nsf” database.

That database already contains an image named “IBM Logo” with the alias “logo.gif”, so your custom image would conflict with that.