Link to home
Start Free TrialLog in
Avatar of stevenschulman
stevenschulmanFlag for United States of America

asked on

Adding Context Menu (right-click) to text with attaced comments in Word 2010

I am using Custom UI Editor for Microsft Office to try to add a context menu (i.e., right-click). The format is:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
   <contextMenus>
      <contextMenu idMso="ContextMenuText">
         <menu id="SampleText" label="Sample" >
            <button id="SampleText" label="One" onAction="Sample_One" />
            <button id="SampleText" label="Two" onAction="Sample_Two" />
         </menu>
      </contextMenu>
      <contextMenu idMso="ContextMenuSpell">
         <menu id="SampleSpell" label="Sample" >
            <button id="SampleSpell" label="One" onAction="Sample_One" />
            <button id="SampleSpell" label="Two" onAction="Sample_Two" />
         </menu>
      </contextMenu>
   </contextMenus>
</customUI>

This will add the context menu for normal text or text identifies by the spell checker. I can find ContextMenuGrammar, ContextMenuGrammarReading, ContextMenuList, and ContextMenuDisplay.  I need to know what to use so the context menu appears for text which has an attached comment.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of stevenschulman

ASKER

Thank you.