Computing.Net > Forums > Programming > common dialog control

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

common dialog control

Reply to Message Icon

Name: Val
Date: May 17, 2002 at 03:56:27 Pacific
Comment:

I am using common dialog control "save" in VB6 . The directory list show space as tilda. How can I see the whole name. I used property of control .flag=cdlOFNLongNames, did not help.



Sponsored Link
Ads by Google

Response Number 1
Name: Jeff
Date: May 17, 2002 at 15:57:30 Pacific
Reply:

It sounds like you also have multiple select enabled, without cdlOFNExplorer set, which will override long filename support for traditional-style open/save dialogs. The reason for this, is that traditional multi-select requires a space between each filename, so it's not possible to show long filenames, because some might have spaces in their names.

The answer is to enable new-style explorer dialogs. Just make sure you OR-in cdlOFNExplorer, and things should be OK. For example:

.Flags = cdlOFNExplorer Or cdlOFNAllowMultiselect

(that's all one line). You can OR-in any other flags you like, but there's no need to OR-in cdlOFNLongNames, since cdlOFNExplorer already ensures long filename support. If that doesn't solve your problem, let me know.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: common dialog control

Common Dialog in ASP.NET www.computing.net/answers/programming/common-dialog-in-aspnet/3398.html

vb(COMMON DIALOG CONROL) www.computing.net/answers/programming/vbcommon-dialog-conrol/1944.html

Cannot load control, no licence www.computing.net/answers/programming/cannot-load-control-no-licence/3853.html