🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHBrowseForFolder help

#6807
From: Vladimir Stefanovic
Date: Mon, 11 Apr 2005 20:50
45 lines
2692 bytes
Under Project/Options/Directories-Co�nditionals
(if u use BCB5&6 I think) you should define:

NO_WIN32_LEAN_AND_MEAN


You haven't looked deep about the folder creation:
http://tinyurl.com/64xz3

go to:
http://groups-beta.google.com/
and type in: cppbuilder SHBrowseForFolder
for the rest of the threads.

-- 
Best regards,
Vladimir Stefanovic
"Blake Young" <blakeyoung@mail.utexas.edu> wrote in message 
news:425ade83$1@newsgroups.borland.com...
> First of all, I know this has been done to death in the past, but I 
> couldn't find any topics using search, so I figured I'd have to ask again.
>
> As you might imagine, I'm trying to find a clean and professional looking 
> way of allowing users to browse for folders.  I've tried the VCL 
> SelectDirectory function, but unforunately I think it looks only about 2 
> degrees removed from the hideous days of Windows 3.1.  I actually have a 
> functional folder brower in my program, but it's using the DirectoryList 
> component and it doesn't offer some features I'm looking for.  The main 
> thing I need is the ability to create a new folder on-the-spot (i.e. while 
> the user is browsing).  I believe that SHBrowseForFolder gives me this 
> option, but unfortunately I cannot get it to compile.  I'm getting an 
> error about BROWSEINFO not being indentified.  I've tried including 
> windows.h but that doesn't help.  I've also tried including shlobj.h but 
> then I get errors about multiple declarations.  So, I was just curious as 
> to what exactly needed to be included (or linked, if necessary) to get 
> SHBrowseForFolder to work.
>
> To be honest, this is the ideal folder browser I'd like (from MS Visual 
> Studio):
> https://webspace.utexas.edu/youngba2/www/folder_browse.jpg
>
>
> Thanks
> Blake
> 
Technical Details
Message-ID: <425ae31e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,52d285e123d4a41a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <425ade83$1@newsgroups.borland.com>
Subject: Re: SHBrowseForFolder help
Date: Mon, 11 Apr 2005 22:50:45 +0200
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 82.117.212.65
Message-ID: <425ae31e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113252638 82.117.212.65 (11 Apr 2005 13:50:38 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail