Common File Dialog Oddity

cable

Access For My Sins
Local time
Today, 07:11
Joined
Mar 11, 2002
Messages
228
I'm using the code posted on the mvps to open a common file dialog, but I've come across a strange problem. When I use the multi select flag (ALLOWMULTISELECT = &H200) the dialog changes from the modern style (with the wide file select list and the iconic buttons) to the old two column style (one for files, one for directories).

Is there a way I can make it stick to the new style? as the old style is ugly, and slow to use.
 
I'm not sure, but I thought that you also have to set the Explorer-tag.
 
yep! just about to post:)

For some reason on a single file it uses the explorer style, but with multi select it doesnt.

The next problem was then that the mvps code used a borked trimnull function (it reached the first null and ditched the rest!), the old style dialog uses spaces to seperate the path and files, the explorer style uses nullchars.

Once I'd found a proper trimnull function all is well:D
 

Users who are viewing this thread

Back
Top Bottom