🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251750

Re: Dialog: Changing File Chooser Control

#251750
From: Bernd Rose
Date: Wed, 03 Oct 2012 08:20
37 lines
3333 bytes
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.

Bernd
Technical Details
Message-ID: <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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!multikabel.net!newsfeed20.multikabel.net!feed.xsnews.nl!border-3.ams.xsnews.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <1ac4o0fax9ip6.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <10vu4v6ner9zv$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: Dialog: Changing File Chooser Control
Date: Wed, 3 Oct 2012 10:20:09 +0200
From: Bernd Rose <b.rose.tmpbox@expires-2012-10-31.arcornews.de>
References: <1ac4o0fax9ip6.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!multikabel.net!newsfeed20.multikabel.net!feed.xsnews.nl!border-3.ams.xsnews.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (5b129d28.219.359)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 37
Organization: Arcor
NNTP-Posting-Date: 03 Oct 2012 10:20:10 CEST
NNTP-Posting-Host: a183166f.newsspool1.arcor-online.net
X-Trace: DXC=ah1bXMXDJLPHigV@eW57PQic==]BZ:af^4Fo<]lROoRQnkgeX?EC@@PVV_Cl>nV[7]BYf[Tl<>RjZe>de1aG0`4Q_P`Mn4Q@0cW
X-Complaints-To: usenet-abuse@arcor.de