Changeset 2216
- Timestamp:
- 06/27/10 13:10:26 (2 years ago)
- Location:
- trunk/eraser
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
Eraser.Shell/CtxMenu.cpp (modified) (1 diff)
-
Eraser.Shell/ShellExt.vcproj (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser
- Property svn:mergeinfo changed
/branches/eraser6/6.0 merged: 2215
- Property svn:mergeinfo changed
-
trunk/eraser/Eraser.Shell/CtxMenu.cpp
r2136 r2216 173 173 SelectedFiles = GetHDropPaths(hDrop); 174 174 175 //Check if the selected files is only one item long and if that item is the 176 //Start button (for Windows XP) 177 if (SelectedFiles.size() == 1) 178 { 179 wchar_t startMenuPath[MAX_PATH]; 180 if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_STARTMENU, NULL, 181 SHGFP_TYPE_CURRENT, startMenuPath))) 182 { 183 if (SelectedFiles.front() == startMenuPath) 184 //Yes, it is. Don't display the Eraser context menu for this. 185 return E_INVALIDARG; 186 } 187 } 188 175 189 //Clean up. 176 190 GlobalUnlock(stg.hGlobal); -
trunk/eraser/Eraser.Shell/ShellExt.vcproj
r2123 r2216 83 83 Name="VCLinkerTool" 84 84 IgnoreImportLibrary="true" 85 AdditionalDependencies="sh lwapi.lib comsvcs.lib"85 AdditionalDependencies="shell32.lib shlwapi.lib comsvcs.lib" 86 86 LinkIncremental="2" 87 87 ModuleDefinitionFile="$(ProjectDir)DllMain.def" … … 174 174 Name="VCLinkerTool" 175 175 IgnoreImportLibrary="true" 176 AdditionalDependencies="sh lwapi.lib comsvcs.lib"176 AdditionalDependencies="shell32.lib shlwapi.lib comsvcs.lib" 177 177 LinkIncremental="2" 178 178 ModuleDefinitionFile="$(ProjectDir)DllMain.def" … … 266 266 Name="VCLinkerTool" 267 267 IgnoreImportLibrary="true" 268 AdditionalDependencies="sh lwapi.lib comsvcs.lib"268 AdditionalDependencies="shell32.lib shlwapi.lib comsvcs.lib" 269 269 LinkIncremental="1" 270 270 ModuleDefinitionFile="$(ProjectDir)DllMain.def" … … 359 359 Name="VCLinkerTool" 360 360 IgnoreImportLibrary="true" 361 AdditionalDependencies="sh lwapi.lib comsvcs.lib"361 AdditionalDependencies="shell32.lib shlwapi.lib comsvcs.lib" 362 362 LinkIncremental="1" 363 363 ModuleDefinitionFile="$(ProjectDir)DllMain.def"
Note: See TracChangeset
for help on using the changeset viewer.
