Click here to Skip to main content
11,505,486 members (38,648 online)
Click here to Skip to main content
Add your own
alternative version

The Mini Shell Extension Framework – Part III

, 18 Sep 2005 87.6K 1K 46
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
//
// (C) Copyright by Victor Derks <vba64@xs4all.nl>
//
// See README.TXT for the details of the software licence.
//
#pragma once


#include <shlobj.h>


// Undocumented IShellFolderViewCB callback notifications.
// Most info was collected from public domain info on the internet.
const UINT SFVM_SELECTIONCHANGED  =  8;
const UINT SFVM_DRAWMENUITEM      =  9;
const UINT SFVM_MEASUREMENUITEM   = 10;
const UINT SFVM_EXITMENULOOP      = 11; // generated on win9x
const UINT SFVM_VIEWRELEASE       = 12;
const UINT SFVM_GETNAMELENGTH     = 13;
#ifndef SFVM_FSNOTIFY 
const UINT SFVM_FSNOTIFY          = 14; // defined in Feb 2003 SDK, but not in VC 2003 platform SDK.
#endif
const UINT SFVM_WINDOWCLOSING     = 16;
const UINT SFVM_LISTREFRESHED     = 17;
const UINT SFVM_WINDOWFOCUSED     = 18;
const UINT SFVM_CREATEVIEWWND2    = 20; // or SFVM_REGISTERCOPYHOOK ?
const UINT SFVM_COPYHOOKCALLBACK  = 21;
const UINT SFVM_UNMERGEFROMMENU   = 28;
const UINT SFVM_ADDINGOBJECT      = 29;
const UINT SFVM_REMOVINGOBJECT    = 30;
const UINT SFVM_GETCOMMANDDIR     = 33; // or SFVM_PREINVOKECOMMAND ?
const UINT SFVM_GETCOLUMNSTREAM   = 34;
const UINT SFVM_CANSELECTALL      = 35;
const UINT SFVM_ISSTRICTREFRESH   = 37;
const UINT SFVM_ISCHILDOBJECT     = 38;
const UINT SFVM_GETEXTVIEWS       = 40;
const UINT SFVM_FINDITEM          = 44;
const UINT SFVM_WNDMAIN           = 46;
const UINT SFVM_SORT              = 50;
const UINT SFVM_UNDOCUMENTED51    = 51; // SFVM_STANDARDVIEWS?
const UINT SFVM_UNDOCUMENTED56    = 56; // seen on win9x
const UINT SFVM_UNDOCUMENTED60    = 60; // seen on win9x
const UINT SFVM_GETPERSISTHISTORY = 67;

#ifndef SFVM_GETANIMATION
const UINT SFVM_GETANIMATION      = 68; // defined in Feb 2003 SDK, but not in VC 2003 platform SDK.
#endif

const UINT SFVM_WNDPROC                 = 74;
const UINT SFVM_SHOWWEBVIEW             = 75;
const UINT SFVM_GET_WEBVIEW_TEMPLATE    = 76; // Called by shell32::OnGetWebViewTemplate
const UINT SFVM_GET_CUSTOMVIEWINFO      = 77;
const UINT SFVM_UNDOCUMENTED78          = 78; // OnGetInitDefaults (called always during init, just before getsortdefaults)
const UINT SFVM_ENUMERATEDITEMS         = 79;
const UINT SFVM_GET_VIEW_DATA           = 80;
const UINT SFVM_GET_VIEWINFO_TEMPLATE   = 81; // Called by shell32::GetSFVMViewInfoTemplate
const UINT SFVM_GET_WEBVIEW_LAYOUT      = 82;
const UINT SFVM_GET_WEBVIEW_CONTENT     = 83;
const UINT SFVM_GET_WEBVIEW_TASKS       = 84;
const UINT SFVM_GET_WEBVIEW_THEME       = 86;
const UINT SFVM_GETDEFERREDVIEWSETTINGS = 92;

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 | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 18 Sep 2005
Article Copyright 2005 by Victor Derks
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid