Article View: borland.public.cppbuilder.nativeapi
Article #14838Re: Localized name for My Documents
From: Bob Gonder
Date: Thu, 31 Jul 2003 17:15
Date: Thu, 31 Jul 2003 17:15
12 lines
1504 bytes
1504 bytes
Martin Nijhoff wrote: >How can I get the localized name of the My Documents folder? > >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. The code listed under "Using PIDLs and Display Names" is a bit messy. What does your's look like?
Technical Details
Message-ID:
<g9jiiv4i7hvto9kiq5qrolj8hc3bnj4a4f@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<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-07-31 10:19:11 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Localized name for My Documents Date: Thu, 31 Jul 2003 10:15:10 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <g9jiiv4i7hvto9kiq5qrolj8hc3bnj4a4f@4ax.com> References: <3f291bf5@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.165.47 X-Trace: newsgroups.borland.com 1059671710 67.31.165.47 (31 Jul 2003 10:15:10 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail