PDA

Click to See Complete Forum and Search --> : Open Save Dialog Limitations???


telkrin
Jan 4th, 2000, 01:54 AM
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).]

KENNNY
Jan 4th, 2000, 01:58 AM
do u need LONG FILE NAMES flag?
cos isnt it on by default?


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

telkrin
Jan 4th, 2000, 02:06 AM
When you use the allowMultiplefiles flag the dialog control will no longer accept long filenames.

Frans C
Jan 4th, 2000, 02:12 AM
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.

telkrin
Jan 4th, 2000, 02:45 AM
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??

telkrin
Jan 4th, 2000, 04:19 AM
Frans C, Thank you very much. It works great. You saved be an infinite amount of headbanging time.