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 / C++ / MFC
  4. how to add windows type properties to our own files..?

how to add windows type properties to our own files..?

Scheduled Pinned Locked Moved C / C++ / MFC
questioncomhelptutorial
5 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.
  • H Offline
    H Offline
    harinath
    wrote on last edited by
    #1

    Hi, all In windows if we right click any file we get a popup menu which contains something like "undo, cut, copy....etc" My question is suppose I am doing a project where my file extention is .har. now When a user right clicks the .har files I want to add one extra menu item. Hope I gave clear idea about my question. Any help will be of good use to me thanks harinath Harinath Reddy HOneywell Technology Solutions Lab, Bangalore, India-560076 harinath@vandemataram.com

    R 2 Replies Last reply
    0
    • H harinath

      Hi, all In windows if we right click any file we get a popup menu which contains something like "undo, cut, copy....etc" My question is suppose I am doing a project where my file extention is .har. now When a user right clicks the .har files I want to add one extra menu item. Hope I gave clear idea about my question. Any help will be of good use to me thanks harinath Harinath Reddy HOneywell Technology Solutions Lab, Bangalore, India-560076 harinath@vandemataram.com

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      As far as I know, that has to do with shell programming. Look at Mike Dunn's awesome articles about shell programming here on CP. A short explanation : Your file extension has an entry in the registry uder HKEY_CLASSES_ROOT\.har, and the associated value is your file names, like "Harinath Files". Then, under HKEY_CLASSES_ROOT\Harinath Files\shell\command\open, you have your application path, this meaning that the shell conmand "open" will launch the appliaction associated to .har files. Now if you add some other commands, then they will be showed in the menu. Check the articles I meant, and you'll see. ~RaGE();

      1 Reply Last reply
      0
      • H harinath

        Hi, all In windows if we right click any file we get a popup menu which contains something like "undo, cut, copy....etc" My question is suppose I am doing a project where my file extention is .har. now When a user right clicks the .har files I want to add one extra menu item. Hope I gave clear idea about my question. Any help will be of good use to me thanks harinath Harinath Reddy HOneywell Technology Solutions Lab, Bangalore, India-560076 harinath@vandemataram.com

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #3

        That's the link http://www.codeproject.com/shell/shellextguideindex.asp[^] Spot part I and part III. ~RaGE();

        H 2 Replies Last reply
        0
        • R Rage

          That's the link http://www.codeproject.com/shell/shellextguideindex.asp[^] Spot part I and part III. ~RaGE();

          H Offline
          H Offline
          harinath
          wrote on last edited by
          #4

          Thank you buddy. I am reading the article. Thanks a lot. cheers harinath Harinath Reddy HOneywell Technology Solutions Lab, Bangalore, India-560076 harinath@vandemataram.com

          1 Reply Last reply
          0
          • R Rage

            That's the link http://www.codeproject.com/shell/shellextguideindex.asp[^] Spot part I and part III. ~RaGE();

            H Offline
            H Offline
            harinath
            wrote on last edited by
            #5

            Thanks Harinath Reddy HOneywell Technology Solutions Lab, Bangalore, India-560076 harinath@vandemataram.com

            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