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

Shell Programming

Scheduled Pinned Locked Moved C / C++ / MFC
c++linuxtutorialquestion
3 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.
  • F Offline
    F Offline
    Fwzklmn
    wrote on last edited by
    #1

    Dear all, I make a windows explorer like application using MFC. If the folder content was changed by other application. How to make my application know when to refresh its folder view ? Thank's

    R J 2 Replies Last reply
    0
    • F Fwzklmn

      Dear all, I make a windows explorer like application using MFC. If the folder content was changed by other application. How to make my application know when to refresh its folder view ? Thank's

      R Offline
      R Offline
      Robert Kuster
      wrote on last edited by
      #2

      Hi. you might check the MSDN documentation for ReadDirectoryChangesW and co. APIs. There are also some nice articles on CodeProject discussing this: - CDirectoryChangeWatcher [^] - Spying a file system[^]

      Kind Regards, Robert Kuster _________________ www.it.rkuster.com

      1 Reply Last reply
      0
      • F Fwzklmn

        Dear all, I make a windows explorer like application using MFC. If the folder content was changed by other application. How to make my application know when to refresh its folder view ? Thank's

        J Offline
        J Offline
        James R Twine
        wrote on last edited by
        #3

        If your application is going to be manipulating directories as well (creating, deleting, renaming items), be sure to use the SHChangeNotify(...) function to notify the shell, if necessary.    Peace!

        -=- James


        If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
        Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
        DeleteFXPFiles & CheckFavorites (Please rate this post!)

        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