How to hide/disable send button in Outlook 2007

J

jubergolandaj

I am working on Outlook 2007 Add-in developed in C# and VS-2008. In this we
are having our own custom form .oftOn this form we have our custom “Sendâ€
button on click event of it our processing continues. Now the problem we are
facing is we want to disable or hide the built-in send button of Outlook on
the Ribbon. Also we want to disable or hide some groups in the Tabs on
Ribbon. We have tried to do this by using custom Ribbon class implementing
Office.Core.IRibbonExtensibility interface.In ThisAddin file we have written
the following method: protected override
Microsoft.Office.Core.IRibbonExtensibility
CreateRibbonExtensibilityObject(){return new Ribbon(); }In Ribbon class the
xml file is referred which disable the particular groups from ribbon tab.But
this is applied to all the new mail items not only to my custom form. Or at
least other best option we can see is, catch the send button click event of
outlook and with that we need "Alt+S" and "Cntrl+Enter" event also. Is it
possible?
 
K

Ken Slovak - [MVP - Outlook]

Answered in the other group you posted in. Please do not multipost.
 

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