PC SDK: Add menu to right-click menu

Hello,

another question: How can I add a menu item to the right-click menu, f.e. when I right-click on an robtarget or workobject?

Thanks in advance.