问题
I'm looking for a solution for the following problem. Can anybody help me out?
I need to replace Outlooks Send-button with a dropdown-button like the "Von" (From) button in my screenshot.
FYI: The new Send-DropDown button will have three functions: 1. Outlooks default send function (the normal sendbutton) 2. Send & Archive Mail 3. Send & Archive Mail+Attachments
Can anyone help me out? Is it possible to do a replacment like i want? if not - does anyone have an other solution for my problem?
Thanks a lot!
回答1:
You'll need to hide the send button (see here: http://help.lockergnome.com/office/hide-disable-button-Outlook-2007--ftopict1010132.html) and then add your own button to the form. The add-in SDK should have all the functionality you need.
回答2:
It could be that the ID is 2617.
3037 is the send command in the file menu.
I need this myself so I'll try it out and edit accordingly. Anyone who can help posting the code to use these ID's is very welcome.
(edit) inspector.CommandBars().FindControl(, 2617).Visible = False
It should work but it doesn't. If anyone could help out...
来源:https://stackoverflow.com/questions/8114899/replace-the-outlook-2010-send-button