Welcome to shell: revealed Sign in | Join | Help
in Search

Browse by Tags

All Tags » Coding
  • Shell Namespace Extension: Enabling Deep Search

    OverviewFrom my past posts about implementing your own Shell Namespace, there have been some great questions posted by readers.  Many of these stem from the fact that the Namespace example is fairly simple in that it does not implement all of the behavior that is possible in Explorer.  This was done to focus on the core steps in getting ...
    Posted to Shell Blog (Weblog) by chrdavis on March 3, 2008
  • Shell Namespace Extension: Adding Custom Command Module Items

    OverviewIn my earlier post, I showed how to create a Shell Namespace Extension using the default IShellView implementation (also known as DefView).  One thing you might have noticed from the sample is that the Commands Module is void of even the default items such as “Organize” and “Views”.  If you are developing ...
    Posted to Shell Blog (Weblog) by chrdavis on September 5, 2007
  • IFileOperation – Part 2: Using the IFileOperationProgressSink Interface

    In the first part of my posts for the IFileOperation interface, I wanted to give an overview of what it is used for and leave the real meat for later.  Now it’s time for the fun stuff.  In this post I want to dig into the use of the IFileOperationProgressSink.   In the MSDN docs for IFileOperation, you will notice that some of ...
    Posted to Shell Blog (Weblog) by chrdavis on April 23, 2007
  • IFileOperation – Part 1: Introduction

    Many developers who have used Shell APIs have had at one time or another used SHFileOperation in their code.  SHFileOperation is used to perform copy, move, rename and delete operations on items in the file system.  It is an entry point into the Shell’s copy engine and is the same API used by Windows Explorer to perform file ...
    Posted to Shell Blog (Weblog) by chrdavis on April 16, 2007
  • Your File Is In Use… Demystified

    In past versions of Windows, when a user encountered a file that is in use by another process, he would be presented with an unfriendly dialog like this:What process is using this file?  What should the user do?  There is nothing actionable for the user on this dialog.  Some savvy users may use a utility to determine which process ...
    Posted to Shell Blog (Weblog) by chrdavis on March 29, 2007
  • Common Questions Concerning the SHFileOperation API: Part 2

    Part 2:  The most common mistakes in using SHFileOperation For my second installment, I thought it would be helpful to point out the most common coding mistakes I've seen with SHFileOperation.  1.  Always double-null terminate your pathsThis is the most common error so I am listing it first.  The SHFILEOPSTRUCT takes a ...
    Posted to Shell Blog (Weblog) by chrdavis on September 28, 2006
  • Common Questions Concerning the SHFileOperation API: Part 1

    Over the years, I have seen many questions being asked on newsgroups and developer forums concerning the SHFileOperation API.  This API allows developers to perform file operations such as Copy, Move, Rename and Delete as well as provide rich UI for confirmation, error and progress dialogs.  The API uses a struct named SHFILEOPSTRUCT, ...
    Posted to Shell Blog (Weblog) by chrdavis on September 11, 2006
Powered by Community Server, by Telligent Systems © 2006 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement.