|
-
Jan 4th, 2000, 02:54 AM
#1
Thread Starter
New Member
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).]
-
Jan 4th, 2000, 02:58 AM
#2
Hyperactive Member
do u need LONG FILE NAMES flag?
cos isnt it on by default?
------------------
cintel rules 
www.cintelsoftware.co.uk
-
Jan 4th, 2000, 03:06 AM
#3
Thread Starter
New Member
When you use the allowMultiplefiles flag the dialog control will no longer accept long filenames.
-
Jan 4th, 2000, 03:12 AM
#4
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.
-
Jan 4th, 2000, 03:45 AM
#5
Thread Starter
New Member
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??
-
Jan 4th, 2000, 05:19 AM
#6
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|