|
Post by anixx on Sept 3, 2022 18:31:32 GMT -8
Does it work on modern systems?
|
|
|
Post by The Jackal on Sept 4, 2022 7:39:46 GMT -8
Does it work on modern systems? According to the site, it started having issues with Vista and onwards. Not sure if it's totally incompatible mind you.
|
|
AnyKey
Sophomore Member

Posts: 114
OS: Windows 11 Pro 21H2
Theme: Classic Theme
CPU: AMD Ryzen 7 3700X
RAM: 16 GB
GPU: RTX 2070 S
|
Post by AnyKey on Sept 20, 2022 20:37:32 GMT -8
Adding variable __COMPAT_LAYER with value DisableThemes as system variables shows XP-style dialog.
However: - Works only with 32-bit programs.
- Shows modern title bar.
- Some programs refuse to show dialog. (AFAIK, Notepad++ refused it)
|
|
|
Post by The Jackal on Sept 21, 2022 10:59:39 GMT -8
Adding variable __COMPAT_LAYER with value DisableThemes as system variables shows XP-style dialog.
However: - Works only with 32-bit programs.
- Shows modern title bar.
- Some programs refuse to show dialog. (AFAIK, Notepad++ refused it)
Nice find, really nice find. The default theme overridding the classic theme in the title bar is a shame though. We're on the right track, at least we know it's possible to call change the dialog types now.
|
|
|
Post by The Jackal on Oct 7, 2022 15:04:05 GMT -8
Found a similar program to FileEX; XFilesDialog. This one seems to replace the older Windows 95 era with a similar custom one that has more features. Also works with x64 Windows. Not sure if it works with all programs though or just ones tha have that dialog as default. Program is shareware. www.xdesksoftware.com/xfilesdialog.htmlEDIT: I tried to register the program, but came across a roadblock - seems the third party store that sells the programs has delisted it. So that's a bust.
|
|
|
Post by The Jackal on Feb 27, 2023 11:00:43 GMT -8
Question - would Windhawk be able to do this?
|
|
diyamund
New Member
Posts: 19
OS: Windows 10 LTSC 2019
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by diyamund on Mar 6, 2023 20:55:42 GMT -8
Question - would Windhawk be able to do this? Probably, yes. No one has gotten around to doing it, though. You could probably also do the opposite for modern Windows, to improve the user experience there.
|
|
|
Post by The Jackal on Mar 7, 2023 16:48:50 GMT -8
Question - would Windhawk be able to do this? Probably, yes. No one has gotten around to doing it, though. You could probably also do the opposite for modern Windows, to improve the user experience there. Cheers.
|
|
Cynosphere
New Member
Posts: 5
OS: Windows 10 Home 22H2
Theme: Amora Focus
CPU: AMD Ryzen 7 3700X
GPU: AMD Radeon RX 6700 XT
|
Post by Cynosphere on Mar 11, 2023 14:16:02 GMT -8
// ==WindhawkMod== // @id classic-file-picker // @name Classic File Picker // @description Redirect the Windows Vista+ file picker to the Windows XP one // @version 0.1 // @author Cynosphere // @include * // @compilerOptions -lole32 -lcomdlg32 // ==/WindhawkMod==
// ==WindhawkModReadme== /* # Classic File Picker */ // ==/WindhawkModReadme==
template<class S> CLSID CreateGUID(const S& hexString) { CLSID clsid; CLSIDFromString(hexString, &clsid);
return clsid; }
const CLSID CLSID_FileOpenDialog = CreateGUID(L"{DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7}"); const CLSID CLSID_FileOpenDialogLegacy = CreateGUID(L"{725F645B-EAED-4fc5-B1C5-D9AD0ACCBA5E}"); const CLSID CLSID_FileSaveDialog = CreateGUID(L"{c0b4e2f3-ba21-4773-8dba-335ec946eb8b}"); const CLSID CLSID_FileSaveDialogLegacy = CreateGUID(L"{AF02484C-A0A9-4669-9051-058AB12B9195}");
using CoCreateInstance_t = decltype(&CoCreateInstance); CoCreateInstance_t CoCreateInstance_Original; HRESULT WINAPI CoCreateInstance_Hook(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID riid, LPVOID *ppv) { if (rclsid == CLSID_FileOpenDialog) { return CoCreateInstance_Original(CLSID_FileOpenDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); } else if (rclsid == CLSID_FileSaveDialog) { return CoCreateInstance_Original(CLSID_FileSaveDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); }
return CoCreateInstance_Original(rclsid, pUnkOuter, dwClsContext, riid, ppv); }
BOOL Wh_ModInit() { Wh_SetFunctionHook((void*)CoCreateInstance, (void*)CoCreateInstance_Hook, (void**)&CoCreateInstance_Original);
return TRUE; }
void Wh_ModUninit() {}
This does require classic theme though to work properly, Windows will upgrade to the normal dialog no matter what but this solves my gripe with the Windhawk classic theme method.
|
|
|
Post by The Jackal on Mar 11, 2023 15:17:46 GMT -8
// ==WindhawkMod== // @id classic-file-picker // @name Classic File Picker // @description Redirect the Windows Vista+ file picker to the Windows XP one // @version 0.1 // @author Cynosphere // @include * // @compilerOptions -lole32 -lcomdlg32 // ==/WindhawkMod==
// ==WindhawkModReadme== /* # Classic File Picker */ // ==/WindhawkModReadme==
template<class S> CLSID CreateGUID(const S& hexString) { CLSID clsid; CLSIDFromString(hexString, &clsid);
return clsid; }
const CLSID CLSID_FileOpenDialog = CreateGUID(L"{DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7}"); const CLSID CLSID_FileOpenDialogLegacy = CreateGUID(L"{725F645B-EAED-4fc5-B1C5-D9AD0ACCBA5E}"); const CLSID CLSID_FileSaveDialog = CreateGUID(L"{c0b4e2f3-ba21-4773-8dba-335ec946eb8b}"); const CLSID CLSID_FileSaveDialogLegacy = CreateGUID(L"{AF02484C-A0A9-4669-9051-058AB12B9195}");
using CoCreateInstance_t = decltype(&CoCreateInstance); CoCreateInstance_t CoCreateInstance_Original; HRESULT WINAPI CoCreateInstance_Hook(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID riid, LPVOID *ppv) { if (rclsid == CLSID_FileOpenDialog) { return CoCreateInstance_Original(CLSID_FileOpenDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); } else if (rclsid == CLSID_FileSaveDialog) { return CoCreateInstance_Original(CLSID_FileSaveDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); }
return CoCreateInstance_Original(rclsid, pUnkOuter, dwClsContext, riid, ppv); }
BOOL Wh_ModInit() { Wh_SetFunctionHook((void*)CoCreateInstance, (void*)CoCreateInstance_Hook, (void**)&CoCreateInstance_Original);
return TRUE; }
void Wh_ModUninit() {}
This does require classic theme though to work properly, Windows will upgrade to the normal dialog no matter what but this solves my gripe with the Windhawk classic theme method. Ah you've made me very happy. It works well, only issue I have it will not work unless I use Travis' classic theme script, which forces the title bar to not use the classic theme for me. I'm using 6sicsix's hybrid classic theme batch script, and even uninstalling 6sicsix's script, Travis's mod still produces the same results. Not sure if it's an issue with build 1607.  Thank you so much for making this a reality. I've wanted this for ages, thank you! 
|
|
Cynosphere
New Member
Posts: 5
OS: Windows 10 Home 22H2
Theme: Amora Focus
CPU: AMD Ryzen 7 3700X
GPU: AMD Radeon RX 6700 XT
|
Post by Cynosphere on Mar 11, 2023 16:36:51 GMT -8
// ==WindhawkMod== // @id classic-file-picker // @name Classic File Picker // @description Redirect the Windows Vista+ file picker to the Windows XP one // @version 0.1 // @author Cynosphere // @include * // @compilerOptions -lole32 -lcomdlg32 // ==/WindhawkMod==
// ==WindhawkModReadme== /* # Classic File Picker */ // ==/WindhawkModReadme==
template<class S> CLSID CreateGUID(const S& hexString) { CLSID clsid; CLSIDFromString(hexString, &clsid);
return clsid; }
const CLSID CLSID_FileOpenDialog = CreateGUID(L"{DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7}"); const CLSID CLSID_FileOpenDialogLegacy = CreateGUID(L"{725F645B-EAED-4fc5-B1C5-D9AD0ACCBA5E}"); const CLSID CLSID_FileSaveDialog = CreateGUID(L"{c0b4e2f3-ba21-4773-8dba-335ec946eb8b}"); const CLSID CLSID_FileSaveDialogLegacy = CreateGUID(L"{AF02484C-A0A9-4669-9051-058AB12B9195}");
using CoCreateInstance_t = decltype(&CoCreateInstance); CoCreateInstance_t CoCreateInstance_Original; HRESULT WINAPI CoCreateInstance_Hook(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID riid, LPVOID *ppv) { if (rclsid == CLSID_FileOpenDialog) { return CoCreateInstance_Original(CLSID_FileOpenDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); } else if (rclsid == CLSID_FileSaveDialog) { return CoCreateInstance_Original(CLSID_FileSaveDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); }
return CoCreateInstance_Original(rclsid, pUnkOuter, dwClsContext, riid, ppv); }
BOOL Wh_ModInit() { Wh_SetFunctionHook((void*)CoCreateInstance, (void*)CoCreateInstance_Hook, (void**)&CoCreateInstance_Original);
return TRUE; }
void Wh_ModUninit() {}
This does require classic theme though to work properly, Windows will upgrade to the normal dialog no matter what but this solves my gripe with the Windhawk classic theme method. Ah you've made me very happy. It works well, only issue I have it will not work unless I use Travis' classic theme script, which forces the title bar to not use the classic theme for me. I'm using 6sicsix's hybrid classic theme batch script, and even uninstalling 6sicsix's script, Travis's mod still produces the same results. Not sure if it's an issue with build 1607.  Thank you so much for making this a reality. I've wanted this for ages, thank you!  I use BasicThemer2(-detours) to fix the titlebars
|
|
|
Post by The Jackal on Mar 11, 2023 17:14:21 GMT -8
Ah you've made me very happy. It works well, only issue I have it will not work unless I use Travis' classic theme script, which forces the title bar to not use the classic theme for me. I'm using 6sicsix's hybrid classic theme batch script, and even uninstalling 6sicsix's script, Travis's mod still produces the same results. Not sure if it's an issue with build 1607.  Thank you so much for making this a reality. I've wanted this for ages, thank you!  I use BasicThemer2(-detours) to fix the titlebars Yep, that did the trick. Thank you so much again.
|
|
jevil7452
Freshman Member
Posts: 64
OS: Windows 10 20H1 (19041.1415)
Theme: Classic
CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
RAM: 20,0 GB (19,8 GB usable)
GPU: Intel Iris Xe Graphics G7 80EU
|
Post by jevil7452 on Mar 13, 2023 11:11:33 GMT -8
// ==WindhawkMod== // @id classic-file-picker // @name Classic File Picker // @description Redirect the Windows Vista+ file picker to the Windows XP one // @version 0.1 // @author Cynosphere // @include * // @compilerOptions -lole32 -lcomdlg32 // ==/WindhawkMod==
// ==WindhawkModReadme== /* # Classic File Picker */ // ==/WindhawkModReadme==
template<class S> CLSID CreateGUID(const S& hexString) { CLSID clsid; CLSIDFromString(hexString, &clsid);
return clsid; }
const CLSID CLSID_FileOpenDialog = CreateGUID(L"{DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7}"); const CLSID CLSID_FileOpenDialogLegacy = CreateGUID(L"{725F645B-EAED-4fc5-B1C5-D9AD0ACCBA5E}"); const CLSID CLSID_FileSaveDialog = CreateGUID(L"{c0b4e2f3-ba21-4773-8dba-335ec946eb8b}"); const CLSID CLSID_FileSaveDialogLegacy = CreateGUID(L"{AF02484C-A0A9-4669-9051-058AB12B9195}");
using CoCreateInstance_t = decltype(&CoCreateInstance); CoCreateInstance_t CoCreateInstance_Original; HRESULT WINAPI CoCreateInstance_Hook(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID riid, LPVOID *ppv) { if (rclsid == CLSID_FileOpenDialog) { return CoCreateInstance_Original(CLSID_FileOpenDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); } else if (rclsid == CLSID_FileSaveDialog) { return CoCreateInstance_Original(CLSID_FileSaveDialogLegacy, pUnkOuter, dwClsContext, riid, ppv); }
return CoCreateInstance_Original(rclsid, pUnkOuter, dwClsContext, riid, ppv); }
BOOL Wh_ModInit() { Wh_SetFunctionHook((void*)CoCreateInstance, (void*)CoCreateInstance_Hook, (void**)&CoCreateInstance_Original);
return TRUE; }
void Wh_ModUninit() {}
This does require classic theme though to work properly, Windows will upgrade to the normal dialog no matter what but this solves my gripe with the Windhawk classic theme method. The mod doesn't work for me. I tried rebooting my PC as well as reinstalling Windhawk.
|
|
|
Post by The Jackal on Mar 13, 2023 11:17:56 GMT -8
You need Travis' Classic theme mod for Windhawk and running BasicThemer2 for it to show.
|
|
jevil7452
Freshman Member
Posts: 64
OS: Windows 10 20H1 (19041.1415)
Theme: Classic
CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
RAM: 20,0 GB (19,8 GB usable)
GPU: Intel Iris Xe Graphics G7 80EU
|
Post by jevil7452 on Mar 13, 2023 13:08:16 GMT -8
You need Travis' Classic theme mod for Windhawk and running BasicThemer2 for it to show. That did fix my issues with the file open/save dialog mod, but it's kinda sad that it only works with that mod, as it causes some weirdness with the titlebars
|
|
|
Post by The Jackal on Mar 13, 2023 13:34:53 GMT -8
You need Travis' Classic theme mod for Windhawk and running BasicThemer2 for it to show. That did fix my issues with the file open/save dialog mod, but it's kinda sad that it only works with that mod, as it causes some weirdness with the titlebars Yes, sadly that is one of the trade-offs. I've noticed the same. EDIT: Changing the theme/scheme corrected the issue for me; I'm not sure, but it might be a bug with certain schemes or it corrects itself on theme change.
|
|
|
Post by OrthodoxWin32 on Mar 13, 2023 14:19:52 GMT -8
|
|
|
Post by The Jackal on Mar 14, 2023 13:29:21 GMT -8
Changing theme/scheme corrected the title bar issue for me. It appears BasicThemer doesn't like some schemes, IDK why.
|
|
diyamund
New Member
Posts: 19
OS: Windows 10 LTSC 2019
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by diyamund on Mar 15, 2023 14:12:36 GMT -8
It would be lovely if someone could come up with a version that doesn't require the other mod.
|
|
AnyKey
Sophomore Member

Posts: 114
OS: Windows 11 Pro 21H2
Theme: Classic Theme
CPU: AMD Ryzen 7 3700X
RAM: 16 GB
GPU: RTX 2070 S
|
Post by AnyKey on Mar 16, 2023 2:52:24 GMT -8
It would be lovely if someone could come up with a version that doesn't require the other mod. I agree. travis's approach is nice but it didn't work well for me.
|
|