Knowledgebase

status_loader

Customize context menu

Question / Problem

Can I add custom menu items to the shell context menu?

Answer / Solution

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.

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form