🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHBrowseForFolder

#8767
From: Vladimir Stefanovic
Date: Thu, 23 Sep 2004 19:31
35 lines
2127 bytes
> >I thought that SHBrowseForFolder is the same as VCL DelectDirectory
>
> I think that's a type-o and you meant SelectDirectory which
> has 2 formats depending on the params that you pass. One is
> indeed a wrapper for SHBrowseForFolder but it doesn't permit
> you to set the ulFlags member.

Yes, that was just a typing mistake, sorry.

> >Can you please get some light on it? Is there any dynamic EditBox
> >when BIF_USENEWUI setted?
>
> No. However, there is a button which allows you to create a
> new folder using the default name "New Folder" which can then
> be changed by right clicking it and selecting Rename from the
> popup menu. Then the 'New Folder' name goes into the edit mode
> just like it does in WindowsExplorer.

Thanks for this detailed explanation. So button is the initiator.

> Keep in mind that you have to call SHBrowseForFolder directly
> to get this effect.

Yes, I worked with SHBrowseForFolder before, but overlooked
the folder creation. Also AFAIK, NO_WIN32_LEAN_AND_MEAN
have to be definded in Project/Options/Directories-Conditionals.

Thanks again.


--


Best regards,
Vladimir Stefanovic
Technical Details
Message-ID: <41532425@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4152ec9a$2@newsgroups.borland.com> <4152f862$1@newsgroups.borland.com> <4153185c@newsgroups.borland.com> <41531e32$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e32cff8ad9ed96fb
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <spam@not.needed>
Newsgroups: borland.public.cppbuilder.nativeapi
References:  <4152ec9a$2@newsgroups.borland.com> <4152f862$1@newsgroups.borland.com> <4153185c@newsgroups.borland.com> <41531e32$1@newsgroups.borland.com>
Subject: Re: SHBrowseForFolder
Date: Thu, 23 Sep 2004 21:31:18 +0200
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 213.137.116.159
Message-ID: <41532425@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095967781 213.137.116.159 (23 Sep 2004 12:29:41 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail