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

CFileDialog

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

    i m using CFileDialog object to open file dialog so user can select the files but i want to make disable the "delete" option if user right clicks on the selected file and tries to delete it.Also user cannot be able to delete the selected file by the key "delete" from key board. thanks ajmal ajmalsiddiqui

    R M 2 Replies Last reply
    0
    • A ajmalsiddiqi

      i m using CFileDialog object to open file dialog so user can select the files but i want to make disable the "delete" option if user right clicks on the selected file and tries to delete it.Also user cannot be able to delete the selected file by the key "delete" from key board. thanks ajmal ajmalsiddiqui

      R Offline
      R Offline
      Rob Manderson
      wrote on last edited by
      #2

      See this[^] Rob Manderson I'm working on a version for Visual Lisp++ My blog http://blogs.wdevs.com/ultramaroon/[^]

      1 Reply Last reply
      0
      • A ajmalsiddiqi

        i m using CFileDialog object to open file dialog so user can select the files but i want to make disable the "delete" option if user right clicks on the selected file and tries to delete it.Also user cannot be able to delete the selected file by the key "delete" from key board. thanks ajmal ajmalsiddiqui

        M Offline
        M Offline
        Marc Soleda
        wrote on last edited by
        #3

        I think that you'll have to subclass CFileDialog to handle these things. Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

        A 1 Reply Last reply
        0
        • M Marc Soleda

          I think that you'll have to subclass CFileDialog to handle these things. Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

          A Offline
          A Offline
          ajmalsiddiqi
          wrote on last edited by
          #4

          hi what a good reply thanks for this. I m using CFileDialog class object but on domodal i want to restrict the user to modifify the files those are veiwed in filedialog.Actually i want that user can only veiw the files and can copy by mouse right click but not cut and del. bye ajmal ajmalsiddiqui

          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