User want to move command bar buttons

S

Sanjay Singh

I have seen that the recommended way to have command bar buttons in addins
is to create "temporary" buttons.

I am doing this and it works great but ....

What if a user wants the button to be in a different place?
They move the button and everything still works. They restart Outlook and
the button ends up back to its original place.

How can we create addin buttons so that the user has the ability to move
them around?
 
K

Ken Slovak - [MVP - Outlook]

Read and store the button's settings. Left and Top would do it. If you use a
toolbar (CommandBar) you can get the Position property.
 

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