🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHBrowseForFolder help

#6809
From: Blake Young
Date: Mon, 11 Apr 2005 21:13
22 lines
1909 bytes
Thanks for the help, both Gambit and Vladimir.  Adding the 
NO_WIN32_LEAN_AND_MEAN conditional did the trick.

In answer to Gambit's question...

> Sounds like you are still using the old version of SelectDirectory() that
> created its own VCL form and did use the Win3.1 components.  The newer
> version now internally calls SHBrowseForFolder() instead.  The new version
> of SelectDirectory() was introduced in BCB5.  Which version of BCB are you
> using?

I am using BCB 6.0 Professional.  Here a screenshot of what SelectDirectory 
produces on my system.  Maybe it is using newer components than Win 3.1, but 
I actually don't remember what Win 3.1 really looked like (I was young). 
Either way, I don't like the way it works well enough to want to use it. 
Now that I know how to use SHBrowseForFolder I'll probably just have to 
stick with that.

https://webspace.utexas.edu/youngba2/www/folder_browse_ugly.jpg

Thanks
Blake 
Technical Details
Message-ID: <425ae87e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <425ade83$1@newsgroups.borland.com> <425ae4e0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,52d285e123d4a41a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Blake Young" <blakeyoung@mail.utexas.edu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <425ade83$1@newsgroups.borland.com> <425ae4e0@newsgroups.borland.com>
Subject: Re: SHBrowseForFolder help
Date: Mon, 11 Apr 2005 16:13:26 -0500
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 68.91.216.237
Message-ID: <425ae87e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113254014 68.91.216.237 (11 Apr 2005 14:13:34 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail