Click here to Skip to main content
15,885,366 members
Articles / Desktop Programming / ATL

The Mini Shell Extension Framework – Part III

Rate me:
Please Sign up or sign in to vote.
4.96/5 (11 votes)
18 Sep 200516 min read 139.8K   1.4K   46  
Discussion of a small C++ framework to create Windows shell extensions (IShellFolderImpl).
Version 0.91
- General
  - Switched to m_ namescheme for member variables.
  - By default all std::exceptions are now catched by the 
    standard catch handler macro.
  - Switched to the comment in assert technique.
  - Addapted for Visual Studio 2005 beta 2

- IColumnProvider
  - Made desktop release bug workaround a template argument.
  - Added support for standard column IDs.  

- IShellFolderImpl
  - Added support to add items to the default context menu.
  - Added support for subfolders.
  - Added support for IExtractIcon
  - Added support for clipboard and drop\drop

- CFormatEtc
  - Added extra clipboard format support.

- CInfoTipImpl
  - Renamed GetinfoTipText to CreateInfoTipText.

- VVV Sample
  - Added code to demonstrate how to add a command
    to the default context menu with handling and helptext.
  - Added code to demonstrate how to handle sub folders.
  

Version 0.90
- General
  - added an icon to the vvv sample

- CPidl
  - improved ownership concept

- CCfHDrop
  - New class

- CStgMedium
  - Moved clipboard format support cfhdrop to a new class
  - Added support functions for copy medium.

- CClipboardDataObjectImpl
  - New class. Supports copy\paste + drag\drop operations.

- CShellFolderContextMenu
  - New class. Forwards 'paste' command to shellfolder.

- CFileList
  - Replaced COM handling by default ATL macros

- IShellExtInitPtr
  - Fixed a bug that an object that doesn't support this
    interface doesn't throw an exception.

- IContextMenuPtr
  - Fixed a bug that an object that doesn't support this
    interface doesn't throw an exception.

- IShellFolderImpl
  - Added support for IPersistIDList, IShellIcon, IDropTarget
  - Added central error handled that forwards to OnError
  - Added support to correctly sort on Windows 98
  - Added support for drag and drop
  - Added support for copy\paste\cut

- Util
  - Added GetFileSize function
  - Added clipboard support functions
  - Added function to detect which version of shell32 is installed  


Version 0.87

- IInfoTipImpl
  - Added improved registration script that works together with a custom ShellFolder
  - Made more generic, can now also be used with a custom shell folder.

- IColumnProviderImpl
  - Fixed incorrect string column title display on Windows ME

- IShellPropSheetExtImpl
  - Renamed from CShellPropSheetExtImpl for improved consistency with other 'impl' classes
  - Added improved registration script that works together with a custom ShellFolder
  - Made more generic, can now also be used with a custom shell folder.

- IContextMenuImpl
  - Added improved registration script that works together with a custom ShellFolder
  - Added support for owner drawn menus

- IShellFolderImpl (beta)
  - Added support for infotips
  - Added support for a propertysheet
  - Added support to update items
  - Added support to rename items
  - Added support to delete items

- IShellFolderViewCBImpl (beta)
  - Added support to register which events the system Folder View should watch
  - Added missing message cracker functions

- IItemNameLimitsImpl
  - New class

- IBrowserFrameOptionsImpl
  - New Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior) Hitachi High-Tech Analytical Science
Netherlands Netherlands
Victor lives in Nijmegen, the oldest city in The Netherlands.
He studied Applied Physics in Delft and works Hitachi High-Tech Analytical Science.

Comments and Discussions