Disable Right Click Context Menu in Microsoft Outlook

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

Disable Right Click Context Menu in Microsoft Outlook
Is it possible or are there any events to allow to disable the right click context menu at the folders on the left panel ? 
alvin chan




Posts: 30
Joined: 2019-10-07
Hi Andrei

Working great now , Thank you very much .
Posted 11 Oct, 2019 02:57:04 Top
Andrei Smolin


Add-in Express team


Posts: 17239
Joined: 2006-05-11
Welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Oct, 2019 02:58:49 Top
alvin chan




Posts: 30
Joined: 2019-10-07

To bypass this issue, you need to add some code to the OnRibbonBeforeCreate event of the add-in module. In the event handler, you determine the Office version loading your add-in (e.g. using ADXAddinModule.HostMajorVersion < 15) and delete the ADXRibbonCommand that has IdMso="NewInlineFolder"; find some useful code at https://www.add-in-express.com/forum/read.php?FID=5&TID=15652.


Hi Andrei

I tried to capture what components I have , attached the print screen for your reference ,how do I know which component belongs to "NewInlineFolder" ribboncommand ?

[img]https://drive.google.com/open?id=1S0WiRChsmqr9Hko8SFD-hJ1tafSIONbk[/img]

[img]https://drive.google.com/open?id=1Syx05sbwc2L_XKj-7y9rCY8ONeQTwCyg[/img]
Posted 11 Oct, 2019 03:08:44 Top
Andrei Smolin


Add-in Express team


Posts: 17239
Joined: 2006-05-11
Hello Alvin,

Please have a look at the code at https://www.add-in-express.com/forum/read.php?FID=5&TID=15652.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Oct, 2019 03:12:10 Top
alvin chan




Posts: 30
Joined: 2019-10-07
Hi Andrei

Working good now , thank you very much !!!
Posted 11 Oct, 2019 04:09:27 Top
Andrei Smolin


Add-in Express team


Posts: 17239
Joined: 2006-05-11
You are welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Oct, 2019 04:12:04 Top