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. Replacing open/save dialogs

Replacing open/save dialogs

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 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.
  • K Offline
    K Offline
    Krishnan V
    wrote on last edited by
    #1

    I want to prevent access to windows explorer when the user is using my app. Therefore, I have created a new desktop to run my app on. This way even though he can run explorer, he cannot practically use it. However, if from my app's open/save dialogs the user right-clicks and selects the explore option, he gets a new instance of explorer running on my desktop.:^) My question therefore is how do I prevent this? As far as my app goes, I can think of replacing the standard open/save and browse for folder dialogs with custom made ones. However, my app uses certain third-party resources for which I cannot do the same. Can I then somehow "hook" these dialog boxes, and prevent the user from running explorer. Any other ideas on achieving my end result are welcome. Thanks!:)

    D 1 Reply Last reply
    0
    • K Krishnan V

      I want to prevent access to windows explorer when the user is using my app. Therefore, I have created a new desktop to run my app on. This way even though he can run explorer, he cannot practically use it. However, if from my app's open/save dialogs the user right-clicks and selects the explore option, he gets a new instance of explorer running on my desktop.:^) My question therefore is how do I prevent this? As far as my app goes, I can think of replacing the standard open/save and browse for folder dialogs with custom made ones. However, my app uses certain third-party resources for which I cannot do the same. Can I then somehow "hook" these dialog boxes, and prevent the user from running explorer. Any other ideas on achieving my end result are welcome. Thanks!:)

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

      Krishnan V wrote:

      I want to prevent access to windows explorer when the user is using my app.

      Why? What is it that you are ultimately trying to prevent access to?


      "Take only what you need and leave the land as you found it." - Native American Proverb

      K 1 Reply Last reply
      0
      • D David Crow

        Krishnan V wrote:

        I want to prevent access to windows explorer when the user is using my app.

        Why? What is it that you are ultimately trying to prevent access to?


        "Take only what you need and leave the land as you found it." - Native American Proverb

        K Offline
        K Offline
        Krishnan V
        wrote on last edited by
        #3

        My application is used in critical applications. Therefore, normal users are not allowed to use anything outside of my app. Not even calculator! To get access to other applications, I might provide a password-protected option to them.

        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