Adding Buttons to an existing Outlook toolbar

Joined
Sep 26, 2005
Messages
6
Reaction score
0
I have my own Outlook toolbar and try to have it non-temporary so that it keeps its position. But I run into problems.

I can't seem to make the buttons non-temporary. If I try, the "Add" call fails. If I use the same parameters from OutlookSpy, it works, a button appears.

So, I've resented to using temporary items on a non-temporary toolbar. I'm scanning for the toolbar on each startup and then add the (temporary) buttons. Bad style, but works. On many computers.

On some computers, the "Add" call fails. And have no idea why.

I'm using C++ and use Invoke / QueryInterface for all these stupid pointers and I'm checking all the results to make sure that I get valid pointers. They all seem to be valid, and still "Add" fails.
:wall::wall::wall::wall::wall::wall::wall::wall:

What could be the reason???

Any ideas? PLEASE!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top