Click here to Skip to main content
13,250,883 members (52,246 online)
Click here to Skip to main content
Add your own
alternative version


28 bookmarked
Posted 18 Mar 2001

Shell Extension using ATL and WTL

, 18 Mar 2001
Rate this:
Please Sign up or sign in to vote.
Shell extension that extends the Windows Explorer user interface
<!-- Download Links --> <!-- Article image -->

Sample Image - ShellServer.gif

<!-- Add the rest of your HTML here -->


Here is another Shell extension sample - the one which extends Windows Explorer's user interface.

Let me note that my sample does not do anything useful - I'll try to think of something later - it just shows how to write this kind of shell extension.

How to install it?

Copy the ShellServer.dll to any directory of your choice and register it using regsvr32.exe. Next time when you open the Windows Explorer you'll see one more folder in the left pane tree - Shell Server. Just click on it and you'll see it in action.

a ShellServer integrates its own menu, toolbar buttons, text in the status bar with Windows Explorer and displays a listview control in the right pane of Explorer with some data.

There are 4 classes in the project:

  • CFolderObj which implements IShellFolder and IPersistFolder interfaces.
  • CViewObj which implements IShellView interface.
  • CMainDlg
  • CShellListView

and CViewObj are implemented using ATL, CMainDlg and CShellListView use WTL.

The implementation is pretty straightforward, except for one thing - if you want to handle window messages in the listview control you have to create the modeless dialog first and place a listview control on it.

I wrote it on WinNT 4.0 sp6 and did not test on Win95/98.

That's it. Enjoy it and use it any way you want. Do not even mention my name (I am a very modest person).

Credits - <p>


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Igor Vigdorchik
Web Developer
United States United States
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralDrag and drop Pin
HarvinderSinghChaddha18-May-07 3:22
memberHarvinderSinghChaddha18-May-07 3:22 
GeneralRe: Drag and drop Pin
Igor Vigdorchik18-May-07 13:02
memberIgor Vigdorchik18-May-07 13:02 
QuestionHow to change tool bar items and menu items Pin
kil ramesh18-Jan-06 0:57
memberkil ramesh18-Jan-06 0:57 
GeneralAdding Toolbar Buttons to Explorer Pin
iffi9928-May-03 22:29
memberiffi9928-May-03 22:29 
GeneralRe: Adding Toolbar Buttons to Explorer Pin
Igor Vigdorchik9-May-03 11:42
memberIgor Vigdorchik9-May-03 11:42 
GeneralRe: Adding Toolbar Buttons to Explorer Pin
Sardaukar21-Sep-03 1:04
memberSardaukar21-Sep-03 1:04 
GeneralFile Open Pin
gnichola11-Oct-01 14:11
membergnichola11-Oct-01 14:11 
Generalgood stuff. btw: the toolbar icons in xp are 24x24... Pin
Anonymous28-Sep-01 10:11
memberAnonymous28-Sep-01 10:11 
GeneralRe: good stuff. btw: the toolbar icons in xp are 24x24... Pin
Igor Vigdorchik4-Oct-01 12:18
memberIgor Vigdorchik4-Oct-01 12:18 
GeneralRe: good stuff. btw: the toolbar icons in xp are 24x24... Pin
Anonymous13-Nov-01 9:55
memberAnonymous13-Nov-01 9:55 
GeneralRe: good stuff. btw: the toolbar icons in xp are 24x24... Pin
Igor Vigdorchik15-Nov-01 4:47
memberIgor Vigdorchik15-Nov-01 4:47 
QuestionHandling ? Pin
Anonymous15-Jun-01 5:27
memberAnonymous15-Jun-01 5:27 
AnswerRe: Handling ? Pin
Igor Vigdorchik20-Jun-01 14:17
memberIgor Vigdorchik20-Jun-01 14:17 
Questionatlapp.h missing ? Pin
Juergen19-Mar-01 22:59
memberJuergen19-Mar-01 22:59 
AnswerRe: atlapp.h missing ? Pin
Anonymous20-Mar-01 5:59
memberAnonymous20-Mar-01 5:59 
AnswerRe: atlapp.h missing ? Pin
Igor Vigdorchik20-Mar-01 7:13
memberIgor Vigdorchik20-Mar-01 7:13 
GeneralRe: atlapp.h missing ? Pin
Juergen20-Mar-01 23:14
memberJuergen20-Mar-01 23:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171114.1 | Last Updated 19 Mar 2001
Article Copyright 2001 by Igor Vigdorchik
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid