Customize context menu
Frage / Problem
Can I add custom menu items to the shell context menu?
Antwort / Lösung
You cannot write context menu handlers that will work with Windows Explorer using ShellBrowser.
However you can customize the context menu that will be displayed in the ShellBrowser controls, e.g. the TJamShellList:
- Add a TPopupMenu and implement the actions to be taken
- Select your custom PopupMenu in the "PopupMenu" property of the TJamShellList
- Set the "ShowContextMenuOnTop" property to show your custom entries above or below the normal shell context menu's entries.