How do I disable the "New" button

Add-in Express™ Support Service
That's what is more important than anything else

How do I disable the "New" button
 
Roderick R


Guest


Hello !
I just implemented a WebViewPane form and it shows in the
explorer when select a specific folder. The items displayed
got nothing to do with Outlook so I'm wondering if I can
disable the New button (and/or menu).

Is this possible ?

Thanks

Roderick
Posted 01 Sep, 2010 03:25:32 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Roderick,

In Outlook 2000-2007, you can find those controls programmatically using ActiveExplorer.CommandBars.FindControl (or FindControls) and set theControl.Enabled = false. FindControl(s) requires passing the Id of the control, use our free http://www.add-in-express.com/downloads/mapi-store-events.php to find all such IDs. In Outlook 2010, you could try disabling items using the Ribbon Command component, see Intercepting built-in Ribbon controls at http://www.add-in-express.com/docs/net-ribbon-components.php.


Andrei Smolin
Add-in Express Team Leader
Posted 01 Sep, 2010 06:46:23 Top