🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Localized name for My Documents

#14758
From: Remy Lebeau (TeamB)
Date: Fri, 01 Aug 2003 16:57
17 lines
1692 bytes
"Martin Nijhoff" <m.NOSPAMnijhoff@tba-tenNOSPAM.nl> wrote in message
news:3f291bf5@newsgroups.borland.com...

> I use SHGetSpecialFolderLocation() to get the PIDL to the folder. With
> IShellFolder::GetDisplayNameOf() I can only get the file path to the
folder
> (which is D:\Docs in my case), but not the name that is used to display My
> Documents (or Mijn Documenten in dutch, Eigene Dateien in german, etc.) in
> for example Start | Recent Docs.

What does your actual code look like?  When you called GetDisplayNameOf(),
what actual value did you pass to uFlags parameter?  Did you use
SHGDN_NORMAL, SHGDN_INFOLDER, or SHGDN_FORPARSING.


Gambit
Technical Details
Message-ID: <3f2a9ab0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!news.astraweb.com!news-small.astraweb.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f291bf5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a8f8c57e6feba365
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-01 10:04:03 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f291bf5@newsgroups.borland.com>
Subject: Re: Localized name for My Documents
Date: Fri, 1 Aug 2003 09:57:58 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f2a9ab0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059756720 207.175.226.26 (1 Aug 2003 09:52:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!news.astraweb.com!news-small.astraweb.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail