Results 1 to 2 of 2

Thread: Public Const FOF_NOCONFIRMATION =

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    melbourne australia
    Posts
    4

    Post

    Hi,

    What should the value be here
    Public Const FOF_NOCONFIRMATION =?
    When trying to send files to the recycle bin?

    Thanks,

    Dave.

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    I pulled these out of Shellapi.h:

    #define FOF_MULTIDESTFILES 0x0001
    #define FOF_CONFIRMMOUSE 0x0002
    #define FOF_SILENT 0x0004 // don't create progress/report
    #define FOF_RENAMEONCOLLISION 0x0008
    #define FOF_NOCONFIRMATION 0x0010 // Don't prompt the user.
    #define FOF_WANTMAPPINGHANDLE 0x0020 // Fill in SHFILEOPSTRUCT.hNameMappings
    // Must be freed using SHFreeNameMappings
    #define FOF_ALLOWUNDO 0x0040
    #define FOF_FILESONLY 0x0080 // on *.*, do only files
    #define FOF_SIMPLEPROGRESS 0x0100 // means don't show names of files
    #define FOF_NOCONFIRMMKDIR 0x0200 // don't confirm making any needed dirs
    #define FOF_NOERRORUI 0x0400 // don't put up error UI
    #define FOF_NOCOPYSECURITYATTRIBS 0x0800 // dont copy NT file Security Attributes


    Just change 0x0010 to &H10, etc.

    Enjoy!

    Tom

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