Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Display Window's Explorer menu in MY program's context menu

Display Window's Explorer menu in MY program's context menu

Scheduled Pinned Locked Moved C#
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kasdoffe
    wrote on last edited by
    #1

    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..

    J 1 Reply Last reply
    0
    • K Kasdoffe

      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..

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups