Results 1 to 6 of 6

Thread: Open Save Dialog Limitations???

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Mesa,AZ,US
    Posts
    4

    Post

    Is there any way to use long file names and select muliple files at the same time using the common dialog control?
    I tried doing this throught the flags but the LONG FILE NAMES flag overrides the MULTIPLE FILES flag.
    If this is not possible does anyone know where I might find a third party dialog box that does accomplish this.

    would really appreciate the help

    [This message has been edited by telkrin (edited 01-04-2000).]

  2. #2
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    Post

    do u need LONG FILE NAMES flag?
    cos isnt it on by default?


    ------------------
    cintel rules
    www.cintelsoftware.co.uk

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Mesa,AZ,US
    Posts
    4

    Post

    When you use the allowMultiplefiles flag the dialog control will no longer accept long filenames.

  4. #4
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Post

    From the help file:

    If you use the cdlOFNAllowMultiselect flag by itself under both Windows NT 4.0 and Windows 95, you will not have support for long filenames. This is because the multiple filenames come back space delimited and long filenames could include spaces. You cannot avoid this behavior if you have Windows NT 3.5. If you use cdlOFNAllowMultiselect, you cannot see long filenames. If you add the cdlOFNExplorer flag under Windows 95, you will be able to both multiselect and see long filenames. But the filenames come back null character delimited and not space delimited. Thus, using cdlOFNAllowMultiselect with cdlOFNExplorer will require different parsing of the filename result under Windows 95 and Windows NT 4.0.


  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Mesa,AZ,US
    Posts
    4

    Post

    So your saying that it is possible to use the cdlOFNExplorer and cdlOFNAllowMultiselect tags together using NT 4.0? If this is possible, what is the syntax for this: .flags = &H80000 is there a second flags tag or is it somehow concatinated to the first??

  6. #6

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Mesa,AZ,US
    Posts
    4

    Post

    Frans C, Thank you very much. It works great. You saved be an infinite amount of headbanging time.

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