Re: OpenFileName - Details as default

new topic     » goto parent     » topic index » view thread      » older message » newer message

CChris wrote:
> 
> 
> Adding to my previous reply: for method #3, the files to hunt for appear to
> be FileOpen.dlg and dlgs.h. I don't have a C compiler at hand here in office.

Thanks for the information.  I'm not up to the challenge at the moment, so I'll
have to put this one on the back burner.

I know that the sort order of the dialog is determined by the OS, which means
the user has both the right and the obligation to set it via whatever tools the
OS provides (no matter how clunky and inconvenient they might be).  In windows,
that is simply done via any explorer window, setting the sort order for a
particular folder the way you want, and selecting Tools|Folder Options|View|Apply
to All Folders.  Now, subsequent calls to any dialog that lists files will be
sorted the way you previously set the OS to.  So much for sort order.

However, even though the OS allows you to set the view to "details" and will use
that setting when further explorer windows are opened, the getopenfilename dialog
box ignores the OS setting when it comes to the view.

It has to be doable in some sense (such as the method you described) because
some programs maintain a view which is inconsistent with the operating system's
settings.  For example, most Microsoft Office programs do this routinely.  Some
fairly major software providers don't (Adobe is one that comes to mind). 
Obviously, the folks in the Office group have access to methods that other
software developers will never see, so it comes as no surprise to me that Office
has some usability improvements that are basically off limits to others.

Thanks

Mike

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu