Remove Deleted Item and Search Folder, Remove Right Click Context Menu for folder and store

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

Remove Deleted Item and Search Folder, Remove Right Click Context Menu for folder and store
 
Dishant Arora




Posts: 11
Joined: 2010-06-07
Hi,

We are using add-in express to create outlook add-in.

We use .pst file to create store. We want to remove Deleted item and Search Folder option from store.

Is it possible to remove those 2 Folders when creating store using .pst file ?
Or Any other option to create store without those 2 folders ?

Also, we want to remove Right Click menu for Folders. How we can achieve that ?


Regards,
Dishant
Dishant
Posted 26 Nov, 2015 01:15:34 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Dishant,

At http://www.pcreview.co.uk/threads/hide-delete-deleted-items-search-folders-folders-in-outlook-2003.2511345/, Ken Slovak - a recognized Outlook development guru - says:

You can't delete or hide any of the default folders using Outlook code. You probably can using Extended MAPI but a normal Outlook store might not function correctly in that case.


Dishant Arora writes:
Also, we want to remove Right Click menu for Folders. How we can achieve that ?


The object model of Outlook 2010+ doesn't provide such a way. You can try to disable built-in commands using the Ribbon Command component; you'll need to have IdMso for built-in commands - please see section "Referring to built-in Office ribbon controls" in https://www.add-in-express.com/docs/net-ribbon-components.php.


Andrei Smolin
Add-in Express Team Leader
Posted 26 Nov, 2015 04:47:18 Top