🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get the Desktop Path

#6686
From: Steve Aletto
Date: Thu, 14 Apr 2005 07:09
13 lines
1360 bytes
> I use to work with the desktop and I would like to output my
> files
> directory in the desktop (put the folder of my
> TDirectoryListBox as the
> Desktop folder). Is there an easy way to get the path of the
> the Desktop

Use SHGetSpecialFolderPath with CSIDL_COMMON_DESKTOPDIRECTORY or 
CSIDL_DESKTOPDIRECTORY.

HTH,

Steve.
Technical Details
Message-ID: <425e16a4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <425E113D.AF4DB370@ulb.ac.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,782b31ce577c3c40
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <425E113D.AF4DB370@ulb.ac.be>
Subject: Re: Get the Desktop Path
Date: Thu, 14 Apr 2005 09:09:13 +0200
Lines: 15
Organization: Steve Aletto
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; Original
NNTP-Posting-Host: 81.208.124.114
Message-ID: <425e16a4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113462436 81.208.124.114 (14 Apr 2005 00:07:16 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail