All-In-One Windows Shell Code Samples

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 The code sample illustrates how to create a Windows Shell column handler in VC++ (ATL) Download ReadMe.txt
ATLShellExtContextMenuHandler The code sample illustrates how to create a Windows Shell context menu handler in VC++ (ATL) Download ReadMe.txt
ATLShellExtDragAndDropHandler The code sample illustrates how to create a Windows Shell drag and drop handler in VC++ (ATL) Download ReadMe.txt
ATLShellExtIconHandler The code sample illustrates how to create a Windows Shell icon handler in VC++ (ATL) Download ReadMe.txt
ATLShellExtIconOverlayHandler The code sample illustrates how to create a Windows Shell icon overlay handler in VC++ (ATL) Download ReadMe.txt
ATLShellExtInfotipHandler The code sample illustrates how to create a Windows Shell infotip handler in VC++ (ATL) Download ReadMe.txt
ATLShellExtPropSheetHandler The code sample illustrates how to create a Windows Shell property sheet handler in VC++ (ATL) Download ReadMe.txt
CppShellCommonFileDialog The code sample demonstrates the use of Windows Shell common file dialogs, e.g. the common file open dialog Download ReadMe.txt
CppShellKnownFolders This code sample provides a way to interact with certain high-profile folders (Known Folders) that are present by default in Microsoft Windows, e.g. the Program Files folder. It also allows those same interactions with folders installed and registered wit Download ReadMe.txt
CppWin7ShellLibrary The VC++ code sample demonstrates how to create, open, delete, rename and manage shell libraries in Windows 7. It also shows how to add, remove and list folders in a shell library. Download ReadMe.txt
CppWin7TaskbarAppID The VC++ code sample demostrates how to allow an application to group its associated processes and windows under a single taskbar button by setting process level Application User Model IDs (AppUserModelIDs or AppIDs) and modifying the AppIDs for a specifi Download ReadMe.txt
CppWin7TaskbarOverlayIcons This example demostrates how to initialize Windows 7 Taskbar list instance, set and clear Taskbar Overlay Icons using ITaskbarList3 related APIs. Download ReadMe.txt
CppWin7TaskbarProgressBar This example demostrates how to initialize Windows 7 Taskbar list instance, set Taskbar ProgressBar state and progress value using ITaskbarList3 related APIs. Download ReadMe.txt
CSShellCommonFileDialog The code sample demonstrates the use of Windows Shell common file dialogs, e.g. the common file open dialog Download ReadMe.txt
CSShellKnownFolders This code sample provides a way to interact with certain high-profile folders (Known Folders) that are present by default in Microsoft Windows, e.g. the Program Files folder. It also allows those same interactions with folders installed and registered wit Download ReadMe.txt
CSWin7ShellLibrary The VC# code sample demonstrates how to create, open, delete, rename and manage shell libraries in Windows 7. It also shows how to add, remove and list folders in a shell library. Download ReadMe.txt
CSWin7TaskbarAppID The VC# code sample demostrates how to allow an application to group its associated processes and windows under a single taskbar button by setting process level Application User Model IDs (AppUserModelIDs or AppIDs) and modifying the AppIDs for a specific Download ReadMe.txt
CSWin7TaskbarJumpList This example demostrates how to set register Jump List file handle, add items into Recent/Frequent known categories, add/remove user tasks, and add items/links into custom categories in Windows 7 Taskbar Jump List. Download ReadMe.txt
CSWin7TaskbarOverlayIcons This example demostrates how to initialize Windows 7 Taskbar list instance, set and clear Taskbar Overlay Icons using ITaskbarList3 related APIs. Download ReadMe.txt
CSWin7TaskbarProgressbar This example demostrates how to initialize Windows 7 Taskbar list instance, set Taskbar ProgressBar state and progress value using ITaskbarList3 related APIs. Download ReadMe.txt
CSWin7TaskbarThumbnail This example demostrates how to set Taskbar Thumbnail previews, change Thumbnail previews order, set Thumbnail toolbars using Taskbar related APIs in Windows API Code Pack. Download ReadMe.txt
VBShellKnownFolders This code sample provides a way to interact with certain high-profile folders (Known Folders) that are present by default in Microsoft Windows, e.g. the Program Files folder. It also allows those same interactions with folders installed and registered wit Download ReadMe.txt
VBWin7ShellLibrary The VB code sample demonstrates how to create, open, delete, rename and manage shell libraries in Windows 7. It also shows how to add, remove and list folders in a shell library. Download ReadMe.txt
VBWin7TaskbarAppID The VB code sample demostrates how to allow an application to group its associated processes and windows under a single taskbar button by setting process level Application User Model IDs (AppUserModelIDs or AppIDs) and modifying the AppIDs for a specific Download ReadMe.txt
VBWin7TaskbarJumpList This example demostrates how to set register Jump List file handle, add items into Recent/Frequent known categories, add/remove user tasks, and add items/links into custom categories in Windows 7 Taskbar Jump List. Download ReadMe.txt
VBWin7TaskbarOverlayIcons This example demostrates how to initialize Windows 7 Taskbar list instance, set and clear Taskbar Overlay Icons using ITaskbarList3 related APIs. Download ReadMe.txt
VBWin7TaskbarProgressbar This example demostrates how to initialize Windows 7 Taskbar list instance, set Taskbar ProgressBar state and progress value using ITaskbarList3 related APIs. Download ReadMe.txt
VBWin7TaskbarThumbnail This example demostrates how to set Taskbar Thumbnail previews, change Thumbnail previews order, set Thumbnail toolbars using Taskbar related APIs in Windows API Code Pack. Download ReadMe.txt

 

Visual Studio 2010 Code Samples

Sample Description Download ReadMe
CppShellExtContextMenuHandler The code sample illustrates how to create a Windows Shell context menu handler in VC++ Download ReadMe.txt
CppShellExtCopyHookHandler The code sample illustrates how to create a Windows Shell copy hook handler in VC++ Download ReadMe.txt
CppShellExtDragDropHandler The code sample illustrates how to create a Windows Shell drag and drop handler in VC++ Download ReadMe.txt
CppShellExtInfotipHandler The code sample illustrates how to create a Windows Shell infotip handler in VC++ Download ReadMe.txt
CppShellExtPreviewHandler The code sample demonstrates the VC++ implementation of a preview handler for a new file type registered with the .recipe extension. Download ReadMe.txt
CppShellExtPropSheetHandler The code sample illustrates how to create a Windows Shell property sheet handler in VC++ Download ReadMe.txt
CppShellExtThumbnailHandler The code sample demonstrates the VC++ implementation of a Windows Shell preview handler for a new file type registered with the .recipe extension. Download ReadMe.txt

 

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

Submit your request of Windows Shell code samples (Guidance)