0

Below image is a screenshot of beyond compare which calls windows explorer context menu of a file/folder when right-click and select Explorer menu.

Call-Explorer-Context-Menu

Please help to make it on vb.net, or please share a link for a tutorial. Thank you in advance.

d. ave.
  • 15
  • 6
  • Thats the shell or Explorer menuing system. To implement one on a ListView you probably need to add your own (which will probably be easier than all the PInvokes to use Explorer's) – Ňɏssa Pøngjǣrdenlarp Jun 20 '17 at 12:34

1 Answers1

0

To get the shell menu of a file/folder you must ask the containing folders IShellFolder for a IContextMenu instance. Checkout this blog series called How to host an IContextMenu for all the details.

There is a .NET version of it here.

Anders
  • 97,548
  • 12
  • 110
  • 164