All-In-One Windows Shell Code Samples

Introduction

The All-In-One Windows Shell code samples demonstrate the typical programming topics about extending Windows Shell and using the Windows Shell APIs. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing against Windows Shell.

 

Visual Studio 2008 Code Samples

Sample Description Download ReadMe
ATLShellExtColumnHandler Shell Column Extension Handler Download ReadMe.txt
ATLShellExtContextMenuHandler Shell Context Menu Extension Handler Download ReadMe.txt
ATLShellExtDragAndDropHandler Shell Drag and Drop Extension Handler Download ReadMe.txt
ATLShellExtIconHandler Shell Icon Extension Handler Download ReadMe.txt
ATLShellExtIconOverlayHandler Shell Icon Overlay Extension Handler Download ReadMe.txt
ATLShellExtInfotipHandler Shell Infotip Extension Handler Download ReadMe.txt
ATLShellExtPropSheetHandler Shell Property Sheet Extension Handler Download ReadMe.txt
CppShellCommonFileDialog Use of Shell common file dialog (C++) Download ReadMe.txt
CppShellKnownFolders Shell Knownfolder API (C++) Download ReadMe.txt
CppWin7ShellLibrary Operate on Win7 Shell Library (C++) Download ReadMe.txt
CppWin7TaskbarAppID Win7 Application ID in taskbar (C++) Download ReadMe.txt
CppWin7TaskbarOverlayIcons Win7 Overlay Icons in taskbar (C++) Download ReadMe.txt
CppWin7TaskbarProgressBar Win7 Progressbar in taskbar (C++) Download ReadMe.txt
CSShellCommonFileDialog Use of Shell common file dialog (C#) Download ReadMe.txt
CSShellKnownFolders Shell Knownfolder API (C#) Download ReadMe.txt
CSWin7ShellLibrary Operate on Win7 Shell Library (C#) Download ReadMe.txt
CSWin7TaskbarAppID Win7 Application ID in taskbar (C#) Download ReadMe.txt
CSWin7TaskbarJumpList Win7 Jumplist in taskbar (C#) Download ReadMe.txt
CSWin7TaskbarOverlayIcons Win7 Overlay Icons in taskbar (C#) Download ReadMe.txt
CSWin7TaskbarProgressbar Win7 Progressbar in taskbar (C#) Download ReadMe.txt
CSWin7TaskbarThumbnail Win7 Thumbnail in taskbar (C#) Download ReadMe.txt
VBShellKnownFolders Shell Knownfolder API (VB) Download ReadMe.txt
VBWin7ShellLibrary Operate on Win7 Shell Library (VB) Download ReadMe.txt
VBWin7TaskbarAppID Win7 Application ID in taskbar (VB) Download ReadMe.txt
VBWin7TaskbarJumpList Win7 Jumplist in taskbar (VB) Download ReadMe.txt
VBWin7TaskbarOverlayIcons Win7 Overlay Icons in taskbar (VB) Download ReadMe.txt
VBWin7TaskbarProgressbar Win7 Progressbar in taskbar (VB) Download ReadMe.txt
VBWin7TaskbarThumbnail Win7 Thumbnail in taskbar (VB) Download ReadMe.txt

 

Visual Studio 2010 Code Samples

Sample Description Download ReadMe
CppShellExtContextMenuHandler Shell context menu handler (C++) Download ReadMe.txt
CppShellExtCopyHookHandler Shell copy hook handler (C++) Download ReadMe.txt
CppShellExtDragDropHandler Shell drag-and-drop handler (C++) Download ReadMe.txt
CppShellExtInfotipHandler Shell infotip handler (C++) Download ReadMe.txt
CppShellExtPreviewHandler Shell preview handler (C++) Download ReadMe.txt
CppShellExtPropSheetHandler Shell property sheet handler (C++) Download ReadMe.txt
CppShellExtThumbnailHandler Shell thumbnail handler (C++) Download ReadMe.txt
CSShellExtContextMenuHandler Shell context menu handler (C#) Download ReadMe.txt
CSShellExtCopyHookHandler Shell copy hook handler (C#) Download ReadMe.txt
CSShellExtInfotipHandler Shell infotip handler (C#) Download ReadMe.txt
CSShellExtPreviewHandler Shell preview handler (C#) Download ReadMe.txt
CSShellExtThumbnailHandler Shell thumbnail handler (C#) Download ReadMe.txt
VBShellExtContextMenuHandler Shell context menu handler (VB) Download ReadMe.txt
VBShellExtCopyHookHandler Shell copy hook handler (VB) Download ReadMe.txt
VBShellExtInfotipHandler Shell infotip handler (VB) Download ReadMe.txt
VBShellExtPreviewHandler Shell preview handler (VB) Download ReadMe.txt
VBShellExtThumbnailHandler Shell thumbnail handler (VB) Download ReadMe.txt

 

Download all code samples: http://1code.codeplex.com/releases

 

Submit your request of Windows Shell code samples (Guidance)

 

Last edited Jan 23, 2011 at 11:36 AM by Jialiang, version 5

Comments

ftsdnl Jul 23, 2012 at 2:43 PM 
I found the C# example at "codeproject dot com". Search for "How to Write Windows Shell Extension with .NET Languages".

stravant Jul 14, 2012 at 3:23 AM 
C# Link is still broken. Does anyone have a copy of it somewhere else?

rrreee Apr 13, 2012 at 2:49 PM 
Any update on this? I'm looking for the C# Shell context menu example too, and the link is still broken, and the sample is missing from the Sample Browser. All I can find is lots of comments around the web saying how great the sample is...

MarioMajcica Mar 28, 2012 at 9:09 AM 
Hi guys, some of the links above are not working. I'm trying to download Shell context menu handler (C#) and the link is broken. And yet I can't find that example in Sample Browser. Any tip?

Thanks