User want to move command bar buttons

  • Thread starter Thread starter Sanjay Singh
  • Start date Start date
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?
 
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.
 
Back
Top