Skip navigation
Currently Being Moderated

Adding menu to right click of page item

May 29, 2012 1:37 AM

Dear All,

 

Is it possible to add a menu to right click of a page item?

Right-clicking a page item already gives a popup menu. How to add a menu to this popup?

 

Kindly help!

 
Replies
  • Currently Being Moderated
    May 29, 2012 4:40 AM   in reply to vinothr82

    Hi,

    In order to add a new menu item You need to add a few things into <YourPluginName>.fr and <YourPluginNameID>.h files.

    Just take a look at MenuDef and ActionDef resources in "basicmenu" sample and you'll get the idea.

     

    The only difference for a right click menu is that the menu path should start with "RtMouseLayout:", example:

     

    #define kMyNewContextMenuPath "RtMouseLayout:" kMyNewMenuItemKey

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points