🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Displaying and sorting Custom Properties in "View Details"

#9553
From: Ramon F Herrera
Date: Fri, 02 Jul 2004 03:35
29 lines
2008 bytes
C++ Builder 6

I am mostly a Java programmer with very limited experience in C++,
so please bear with me.

I have been investigating how to add Custom Properties to a Windows
file in order to display them and perform sortings based on them,
when the user selects "View Detail" in the so-called Windows Explorer
(according to most Microsoft documention, the environment I am
interested in customizing is actually called "the Windows Shell").

It seems that I will have to implement a "shell extension" and
more specifically, I will have to register a "column handler".

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/columnproviderhandlers.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/shellcolhand.asp

Could you folks provide further pointers and advice?

I have never written a .DLL, is it hard?
Will I really have to learn a lot of OLE and/or COM to
write my shell-extension program?


Thanks for any assistance,

-Ramon F Herrera
Technical Details
Message-ID: <40e4d804@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,61c123095404a8a6,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 01 Jul 2004 23:35:36 -0400
From: Ramon F Herrera <ramon@jonjay.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Displaying and sorting Custom Properties in "View Details"
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.61.5.41
Message-ID: <40e4d804@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1088739332 24.61.5.41 (1 Jul 2004 20:35:32 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail