🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2350

Re: Shbrowseforfolder edit box problems

#2350
From: Remy Lebeau (TeamB)
Date: Mon, 05 Mar 2007 18:24
24 lines
1685 bytes
"Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?BorlandNG> wrote in
message news:45ec10db$1@newsgroups.borland.com...

> This is to present a directory selector with an edit box to manually
> enter a directory name. The directory chosen or entered, does not
> have to exist.

Then you are using the wrong dialog, as it can only return directories
that do exist.

> When I enter text into the edit box on this dialog, and hit OK, the
> dialog returns the directory in the window above the text box

That is what the dialog is designed to do.

> How do I get to the text in the edit box in this dialog?

You don't.  That box is not for your code to use at all.  It is only
for the user to use.  The dialog only returns the final folder that is
selected.  An ITEMIDLIST cannot point to a non-existant item.


Gambit
Technical Details
Message-ID: <45ec6a71@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45ec10db$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,149a673c2d92f69f
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45ec10db$1@newsgroups.borland.com>
Subject: Re: Shbrowseforfolder edit box problems
Date: Mon, 5 Mar 2007 10:24:48 -0800
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.34.171
Message-ID: <45ec6a71@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1173121649 75.83.34.171 (5 Mar 2007 11:07:29 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail