Display Window's Explorer menu in MY program's context menu
-
I want to add a submenu to my programs context menu that will then show the standard Window's Explorer submenu. Any ideas? If anyone has ever used the program Tortoise CVS, it does such a thing. When you choose to Commit a set of files, right clicking on a file in the list displays the CVS menus, but there's also a submenu called Explorer. Highlighting this menu then displays a submenu just like you were in Window's Explorer and right clicked the file there. help please..
-
I want to add a submenu to my programs context menu that will then show the standard Window's Explorer submenu. Any ideas? If anyone has ever used the program Tortoise CVS, it does such a thing. When you choose to Commit a set of files, right clicking on a file in the list displays the CVS menus, but there's also a submenu called Explorer. Highlighting this menu then displays a submenu just like you were in Window's Explorer and right clicked the file there. help please..
Your best bet is to look into Windows Shell documentation and find out which Win32 calls (or possibly, Registry keys) can retrieve the list of Windows context menu options. That's the easy part. From there, you're gonna have to hook up your application to interop with the Windows shell; so that if you right click on some object in your program, it will allow you to, say, copy the file or text to the clipboard. That will be difficult. I recommend you look for other options. What is it you want to do?