Skip to content

Commit 7770e3b

Browse files
authored
Make FixFolderScroll available in all Windows versions (#1887)
1 parent 211d12b commit 7770e3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Src/ClassicExplorer/ExplorerBHO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ LRESULT CALLBACK CExplorerBHO::HookExplorer( int nCode, WPARAM wParam, LPARAM lP
243243
if (GetClassName(parent,name,_countof(name)) && _wcsicmp(name,L"CabinetWClass")==0)
244244
{
245245
DWORD_PTR settings=0;
246-
if (GetWinVersion()==WIN_VER_WIN7 && GetSettingBool(L"FixFolderScroll"))
246+
if (GetSettingBool(L"FixFolderScroll"))
247247
settings|=1;
248248
SetWindowSubclass(hWnd,SubclassTreeProc,'CLSH',settings);
249249
PostMessage(hWnd,TVM_SETEXTENDEDSTYLE,TVS_EX_FADEINOUTEXPANDOS|TVS_EX_AUTOHSCROLL|0x80000000,0);

Src/ClassicExplorer/SettingsUI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ void UpdateSettings( void )
621621

622622
UpdateSetting(L"ShowCaption",CComVariant(0),false); HideSetting(L"ShowCaption",true);
623623
UpdateSetting(L"ShowIcon",CComVariant(0),false); HideSetting(L"ShowIcon",true);
624-
UpdateSetting(L"FixFolderScroll",CComVariant(0),false); HideSetting(L"FixFolderScroll",true);
624+
UpdateSetting(L"FixFolderScroll",CComVariant(0),false);
625625
UpdateSetting(L"ToolbarItems",CComVariant(g_DefaultToolbar2),false);
626626

627627
if (GetWinVersion()>=WIN_VER_WIN10)

0 commit comments

Comments
 (0)