Add/remove context menu popup item dynamically.

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

Add/remove context menu popup item dynamically.
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

I want to add/remove context menu popup item on event of check box in IE bar.

How can I do this?

Also, I want to check whether the application have its own context menu implemented.

Thanks.
Posted 17 Oct, 2012 03:47:12 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ravi,

What the context menu do you mean? IE always has its own context menu.
Posted 17 Oct, 2012 04:45:19 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Hi Sergey,

I am talking about application's context menu, not IE.

You can check here ...

http://deluxe-menu.com/popup-mode-sample.html

Thanks.
Posted 17 Oct, 2012 07:52:35 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Ravi, this is the HTML based context menu. It is not available in IE add-ons.
But you can completely override the right-click behavior in the OnShowContextMenu event of the iemodule.
Posted 17 Oct, 2012 09:34:07 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

In my case OnShowContextMenu doesn't fire at all.

Thanks.
Posted 18 Oct, 2012 08:28:09 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Please check if the 'HandleDocumentUICommands' property of the iemodule is set to true.
Posted 18 Oct, 2012 08:44:30 Top