🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Create a special directory

#15389
From: Remy Lebeau (TeamB)
Date: Tue, 08 Jul 2003 18:49
24 lines
1882 bytes
"Willie" <Willie.nospam@nospam.pchome.com.tw> wrote in message
news:3f0aefaf@newsgroups.borland.com...

> Yes, I want to create a custom CSIDL value for it.

In that case, it can't be done.  CSIDL values are constants that are defined
in the OS itself.  You can't create your own custom ones, as far as I know.

> And I can see this folder at the top of tree at Explorer
> (like "My Documents").

That is a completely different matter altogether.  Such folders are Virtual
Folders that are managed by custom Shell Namespace Extension DLLs, which
expose custom implementations of the IShellFolder, IShellView and other
related interfaces:

    Creating a Shell Namespace Extension

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersgu
ide/shell_adv/namespaceextension/namespace.asp


Gambit
Technical Details
Message-ID: <3f0b111e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f0ab933$1@newsgroups.borland.com> <3f0aed00$1@newsgroups.borland.com> <3f0aefaf@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1b1b88bd575dba40
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-08 12:12:16 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f0ab933$1@newsgroups.borland.com> <3f0aed00$1@newsgroups.borland.com> <3f0aefaf@newsgroups.borland.com>
Subject: Re: Create a special directory
Date: Tue, 8 Jul 2003 11:49:32 -0700
Lines: 26
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: <3f0b111e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1057689886 207.175.226.26 (8 Jul 2003 11:44:46 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail