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

Start Menu

Scheduled Pinned Locked Moved C / C++ / MFC
5 Posts 3 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.
  • N Offline
    N Offline
    neliocc
    wrote on last edited by
    #1

    Hi everybody. I want to make an application, that its added to the start menu by itself. If any body can explain me how i can make that, i will be gratefull.

    T M 2 Replies Last reply
    0
    • N neliocc

      Hi everybody. I want to make an application, that its added to the start menu by itself. If any body can explain me how i can make that, i will be gratefull.

      T Offline
      T Offline
      Tom Archer
      wrote on last edited by
      #2

      As the Start menu simply displays folder entries, I would imagine that you could simply create an entry in the desired folder. For example, if you wanted to create an entry for the user tomarcher, you would add the entry to the c:\documents and settings\tomarcher\start menu folder. If you open the documents and settings folder you can see all this or if you right click the start menu and select Explore you can easily see where your entries would go. [EDIT] Note that what I'm saying is a "manual" way of doing things. There might be a specific API for doing this that someone else can share with us.

      1 Reply Last reply
      0
      • N neliocc

        Hi everybody. I want to make an application, that its added to the start menu by itself. If any body can explain me how i can make that, i will be gratefull.

        M Offline
        M Offline
        mark novak
        wrote on last edited by
        #3

        The start menu itself is just a user directory. Usually C:\Documents and Settings\%USER%\Start Menu\ but you should call SHGetSpecialFolderLocation with CSIDL_STARTUP, then you can copy a shortcut to this path.

        N 1 Reply Last reply
        0
        • M mark novak

          The start menu itself is just a user directory. Usually C:\Documents and Settings\%USER%\Start Menu\ but you should call SHGetSpecialFolderLocation with CSIDL_STARTUP, then you can copy a shortcut to this path.

          N Offline
          N Offline
          neliocc
          wrote on last edited by
          #4

          I read something about IShellLink and IPersistFile. But when i go to save the link, the aplication sends me an AccessDenied error. But i dont know what is the problem.

          M 1 Reply Last reply
          0
          • N neliocc

            I read something about IShellLink and IPersistFile. But when i go to save the link, the aplication sends me an AccessDenied error. But i dont know what is the problem.

            M Offline
            M Offline
            mark novak
            wrote on last edited by
            #5

            I don't really know what to say except check the permissions, not everyone can modify other users directories or "AllUsers."

            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