Results 1 to 3 of 3

Thread: disable CommonDialog delete

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374

    Unhappy

    in the Open / Save As... common dialog windows, is it possible to disable the delete key? I just realized, much to my dismay, that in a program that I have already released, the user could accidentally delete the database while setting the program configurations

    I can't set the files as read-only because the the rest of the program won't work. Is there a Flags property or something else that I could use?

    Thanks

    Andrew

  2. #2
    Addicted Member
    Join Date
    Apr 2000
    Location
    Sheffield, England.
    Posts
    136
    Do what I did - write your own file/folder requester. Your compiled .exe will be a lot smaller without CommonDialog too.


  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374
    I was planning on doing something similar with future projects and using an API call instead of the bulky common dialog control. But for the moment that does me no good since I don't have time to learn API right now. So if anyone has a clue about my first post, please clue me in since I have no clue at all.

    Thanks

    Andrew

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width