File Explorer: Added option to disable the modern navigation bar (FEMNB).
- The code for disabling tabs (TIFE) is also there, but it doesn't work on 22621.2506+ -- it fallbacks to the Windows 10 Ribbon instead so I'm hiding it for now.
- This should also fix window position saving when using Windows 10 Ribbon on builds with TIFE enabled, up to 23570 (Dev).
@ -9653,10 +9660,22 @@ int RtlQueryFeatureConfigurationHook(UINT32 featureId, int sectionType, INT64* c
@@ -9653,10 +9660,22 @@ int RtlQueryFeatureConfigurationHook(UINT32 featureId, int sectionType, INT64* c
break;
}
#endif
#if 1
case37634385:// TIFE "Tabs in File Explorer"
{
if(dwFileExplorerCommandUI==1// Windows 10 Ribbon <-- fixes saving of window position and size
||dwFileExplorerCommandUI==2// Windows 7 Command Bar <-- fixes menu bar behavior
||dwFileExplorerCommandUI==3)// Windows 11 Command Bar (no Tabs, classic Address Bar) <-- provides option to disable tabs in File Explorer
if(dwFileExplorerCommandUI==1// Windows 10 Ribbon <-- fixes crashing when navigating back to a WASDK view
||dwFileExplorerCommandUI==2// Windows 7 Command Bar <-- ditto
||dwFileExplorerCommandUI==3)// Windows 11 Command Bar (no Tabs, classic Address Bar) <-- fixes crashing when opening an Explorer window
{
// Disable the new Windows App SDK views (in Home and Gallery) when not using the Windows 11 command bar
//
@ -9673,7 +9692,16 @@ int RtlQueryFeatureConfigurationHook(UINT32 featureId, int sectionType, INT64* c
@@ -9673,7 +9692,16 @@ int RtlQueryFeatureConfigurationHook(UINT32 featureId, int sectionType, INT64* c
}
break;
}
#endif
case40950262:// FEMNB "File Explorer Modern Navigation Bar"
{
if(dwFileExplorerCommandUI==3// Windows 11 Command Bar (no Tabs, classic Address Bar)
||dwFileExplorerCommandUI==4)// Windows 11 Command Bar (classic Address Bar)