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. help me please!

help me please!

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelptutorial
4 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
    nenfa
    wrote on last edited by
    #1

    how to mimic the operation of refurbishing desktop like the right-context-menu way? in other words, you right-click on the desktop, there'll be the context menu which has the fresh button, you press fresh button to force refurbishing the desktop. how can i mimic this operation through code.

    K 1 Reply Last reply
    0
    • N nenfa

      how to mimic the operation of refurbishing desktop like the right-context-menu way? in other words, you right-click on the desktop, there'll be the context menu which has the fresh button, you press fresh button to force refurbishing the desktop. how can i mimic this operation through code.

      K Offline
      K Offline
      KingsGambit
      wrote on last edited by
      #2

      You can write shell extension for adding additional items to context menu. For details you can refer The Complete Idiot's Guide to Writing Shell Extensions - Part I[^]

      N 1 Reply Last reply
      0
      • K KingsGambit

        You can write shell extension for adding additional items to context menu. For details you can refer The Complete Idiot's Guide to Writing Shell Extensions - Part I[^]

        N Offline
        N Offline
        nenfa
        wrote on last edited by
        #3

        what i want is to reach the same effect by some simple codes but without any gui codes.

        D 1 Reply Last reply
        0
        • N nenfa

          what i want is to reach the same effect by some simple codes but without any gui codes.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          It's not as simple as that. There's not a WM_REFRESH type of message that you can send to a window and have it refresh itself. Using Spy++, you can see what messages are sent to the desktop's list control and how it responds. In order to mimic this, I suspect a shell extension would be in order.

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          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