Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

The Mini Shell Extension Framework – Part III

, 18 Sep 2005
Discussion of a small C++ framework to create Windows shell extensions (IShellFolderImpl).
msf091.zip
include
columnprovider.rgs
contextmenu.rgs
contextmenu_sf.rgs
extension.rgs
extractimage_sf.rgs
infotip.rgs
infotip_sf.rgs
propertysheetext.rgs
propertysheetext_sf.rgs
shell32missing.def
shell32missing.lib
shellfolder.rgs
shellfolderwin98.rgs
vvvsample
Copy of sample1.vvv
menuicon.bmp
sample.def
sample.manifest
sample1.vvv
vvv.ico
vvvtest
sample.yyy
sample1.vvv
sample2.vvv
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

Share

About the Author

Victor Derks
Software Developer (Senior) Schneider Electric
Netherlands Netherlands
Victor lives in Nijmegen, the oldest city in The Netherlands.
He studied Applied Physics in Delft and now works for GE Healthcare.

| Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 18 Sep 2005
Article Copyright 2005 by Victor Derks
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid