Article View: news.software.readers
Article #251752Re: Dialog: Changing File Chooser Control
From: Sqwertz
Date: Wed, 03 Oct 2012 12:00
Date: Wed, 03 Oct 2012 12:00
54 lines
4031 bytes
4031 bytes
On Wed, 3 Oct 2012 10:20:09 +0200, Bernd Rose wrote: > On Mon, 1 Oct 2012 20:01:57 -0500, Sqwertz wrote: > >> Is there any way to tell Dialog to call the more full featured Windows >> 7 style file picker dialog for choosing attachments? The Windows 7 >> style file picker has a search bar in the upper right, and a few other >> changes that make it slightly easier to navigate the filesystem. > > Without source code? No. Runtime code injection would /technically/ > be possible, but I doubt that anybody would take such an effort. > > Most important problem is, that the "file" picker you are referring to, > isn't really a file picker, but a directory picker. Although Microsoft > supported file operations by common dialogs, that may have different > functionality on different OS versions, picking of directories got > only measly support, at best. Therefore, separate solutions were built > by compiler producers, separate system coders or even by any single > software author. A good directory picker was provided by Microsoft > later on as part of the IE libraries. But at this time, the "in-house > production" of separate directory pickers had already grown too large > for easy adoption. Moreover, using IE libraries reduced portability > to older systems. > > Marcus used directory picker code written by Troy Wolbrink. (See help > file "Thanks" section.) It can neither be customized to your needs > nor do I expect general extender solutions like the ones written for > a couple of Microsoft dialogs. > > You *can* provide the target path from external source, though. So > just use the file manager of your choice to browse to the target > directory, copy the whole path of that directory to clipboard and > insert it into the Folder entry field of the Dialog directory picker. > If you keep using a definite couple of directories, save the whole > path entries into a text file for easy access. Apart from these > suggestions, you are (IMHO) stuck with the current functionality > of the directory picker. I assumed this was some sort of pre-built control for Windows since it appears to be the exact same control that other XP programs used. And it's different when you upgrade to Windows 7 (how would an Windows 2000/NT/XP the control know about the "Libraries" convention in Windows 7, for example. Anyway, if it can't be done it can't be done. I thought maybe there was some way in windows to redirect a common control to another. Just like if I install Firefox on Windows XP I get different file chooser controls than if I use that SAME version of Firefox on Windows 7. It still doesn't make much sense to me that it's not a common control, but it's not worth spending any more time on it. -sw
Technical Details
Message-ID:
<1oiw9y44fqvqe.dlg@sqwertz.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!aqua.octanews.net!news-out.octanews.net!indigo.octanews.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!s09-10.readnews.com!not-for-mailReferences:
<1ac4o0fax9ip6.dlg@sqwertz.com> <10vu4v6ner9zv$.dlg@b.rose.tmpbox.news.arcor.de>Show Full Headers
Complete Article Headers
Message-ID: <1oiw9y44fqvqe.dlg@sqwertz.com> Subject: Re: Dialog: Changing File Chooser Control Date: Wed, 3 Oct 2012 07:00:00 -0500 From: Sqwertz <swertz@cluemail.compost> References: <1ac4o0fax9ip6.dlg@sqwertz.com> <10vu4v6ner9zv$.dlg@b.rose.tmpbox.news.arcor.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!aqua.octanews.net!news-out.octanews.net!indigo.octanews.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!s09-10.readnews.com!not-for-mail X-Trace: DXC=ld4=i^4^E^37W; H:U_2hA0G^cGF?V7mI4]G0e@Sk_WT2T6RVf`ncYm6_EZTl5L<4X5>D?<TKVhQC>EFDbZXYXoX4@J3Fk48nFI3>N4:l90C^F= X-Complaints-To: abuse@blocknews.net Newsgroups: news.software.readers User-Agent: Thunderbird 2.0.0.23 (X11/20091001) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Organization: Me, Myself, and Inc. X-no-archive: yes Lines: 54 NNTP-Posting-Host: f0cb7b80.ngroups.net X-Original-Bytes: 3715