Your items will already have a context menu with default verbs like Copy or Rename if the corresponding attributes are set, however you may want to add your own custom commands. To do this, you have to modify your UI Object class:
Add extra menu items in the function GetMenuItems. These items will be merged with the standard items.
Implement functions that handle the menu item's OnClick.
For an example, see the iconman sample.
|
|