0
votes

I am trying to add a context menu for my contact Item in an Outlook Addin Project.. But the Menu appears at the bottom... How can I set it as first Item in Menu... ?

var contextButton = commandBar.Controls.Add(Office.MsoControlType.msoControlButton, missing, missing, 0, true) as Office.CommandBarButton;

Please Help me. This is the Image of the Menu on Mail Items.

enter image description here

1

1 Answers

1
votes

When calling Controls.Add, one of the parameters is Before. Find the Copy menu item and pass it as the Before parameter.