From: harry on
Hi all

I have a library (Native Win32) that manipulates files present in
different drives/volumes. I would like to provide a layer of
abstraction to the user by showing a virtual folder containing this
set of files that I can manipulate(thru my library) and support all
kinds of other explorer like features (cut,copy, paste , drag and drop
etc.) on this set of files. Creation of subfolders does not need to be
supported with this extension.

I think that this should not be a very complex shell extension. Can
anyone tell me exactly the interfaces that I would need to support? I
specifically do not understand how I can add the copy paste feature
(copying from another folder and pasting it to my virtual folder which
should then call some functions inside my library; and vice versa).

Thanks
From: Giovanni Dicanio on

"harry" <arijit.bee(a)gmail.com> ha scritto nel messaggio
news:cc8bb14c-5cd4-48c2-a538-4a03b02571e7(a)c58g2000hsc.googlegroups.com...

> I think that this should not be a very complex shell extension. Can
> anyone tell me exactly the interfaces that I would need to support?

I would suggest some great tutorials by Mike Dunn on CodeProject:

Part 1 is here:

http://www.codeproject.com/KB/shell/shellextguide1.aspx

Part 4 is about custom drag-and-drop functionality:

http://www.codeproject.com/KB/shell/shellextguide4.aspx

Moreover, you may ask to the ad hoc newsgroup:

microsoft.public.platformsdk.shell

HTH,
Giovanni


From: Giovanni Dicanio on
Hi Harry,

I noted that you multi-posted the same question to the ATL group.

I think that you may cross-post, but not multi-post (our David W. considers
multi-post the 8th capital sin ;)

Giovanni



"harry" <arijit.bee(a)gmail.com> ha scritto nel messaggio
news:cc8bb14c-5cd4-48c2-a538-4a03b02571e7(a)c58g2000hsc.googlegroups.com...
> Hi all
>
> I have a library (Native Win32) that manipulates files present in
> different drives/volumes. I would like to provide a layer of
> abstraction to the user by showing a virtual folder containing this
> set of files that I can manipulate(thru my library) and support all
> kinds of other explorer like features (cut,copy, paste , drag and drop
> etc.) on this set of files. Creation of subfolders does not need to be
> supported with this extension.
>
> I think that this should not be a very complex shell extension. Can
> anyone tell me exactly the interfaces that I would need to support? I
> specifically do not understand how I can add the copy paste feature
> (copying from another folder and pasting it to my virtual folder which
> should then call some functions inside my library; and vice versa).
>
> Thanks


From: Tom Serface on
In addition to what G wrote (Mike's articles are a great place to start) you
may also want to pick a copy of Dino Esposito's book:

http://www.bestwebbuys.com/Visual_C%252B%252B_Windows_Shell_Programming-ISBN_9781861001849.html?isrc=b-search

It's an older book, but still one of the definitive resources on shell
programming. You could also check his Blog page:

http://weblogs.asp.net/despos/search.aspx?q=shell+programming&o=Relevance

Tom

"harry" <arijit.bee(a)gmail.com> wrote in message
news:cc8bb14c-5cd4-48c2-a538-4a03b02571e7(a)c58g2000hsc.googlegroups.com...
> Hi all
>
> I have a library (Native Win32) that manipulates files present in
> different drives/volumes. I would like to provide a layer of
> abstraction to the user by showing a virtual folder containing this
> set of files that I can manipulate(thru my library) and support all
> kinds of other explorer like features (cut,copy, paste , drag and drop
> etc.) on this set of files. Creation of subfolders does not need to be
> supported with this extension.
>
> I think that this should not be a very complex shell extension. Can
> anyone tell me exactly the interfaces that I would need to support? I
> specifically do not understand how I can add the copy paste feature
> (copying from another folder and pasting it to my virtual folder which
> should then call some functions inside my library; and vice versa).
>
> Thanks