S
Stephan Steiner
Hi
I'm progressing with my Outlook add-in but I've run into another roadblock:
The buttons I add to the main window menubar are sticky.. if though I delete
the button(s) in OnBeginShotdown, the next time I start up Outlook, the
button is still there and does not have to be registered again.
However, when I add buttons to a contact (incidentally I create my own
Commandbar for that since I can't figure out how to add new buttons to the
standard commandbar of the contact window), those are non sticky and have to
be re-added each time a contact is opened (I'm stepping through the program
so I see how they are re-created). How can I make those buttons sticky so
that they don't have to be re-added each time?
And while we're at it, how can I pass the proper contact to the event
listener that catches when I press on one of the buttons in the contact? The
method processing the button clicks needs to know which contact window
triggered the event, as it has to process certain data from that contact.
Any help would be appreciated
Stephan
I'm progressing with my Outlook add-in but I've run into another roadblock:
The buttons I add to the main window menubar are sticky.. if though I delete
the button(s) in OnBeginShotdown, the next time I start up Outlook, the
button is still there and does not have to be registered again.
However, when I add buttons to a contact (incidentally I create my own
Commandbar for that since I can't figure out how to add new buttons to the
standard commandbar of the contact window), those are non sticky and have to
be re-added each time a contact is opened (I'm stepping through the program
so I see how they are re-created). How can I make those buttons sticky so
that they don't have to be re-added each time?
And while we're at it, how can I pass the proper contact to the event
listener that catches when I press on one of the buttons in the contact? The
method processing the button clicks needs to know which contact window
triggered the event, as it has to process certain data from that contact.
Any help would be appreciated
Stephan