|
Post by Spitfire_x86 on Jan 27, 2020 8:16:22 GMT -8
|
|
|
Post by anixx on Jan 30, 2020 13:49:28 GMT -8
A command line mode would be useful as well because SCT became too thick for that usage.
|
|
|
Post by Spitfire_x86 on Jan 31, 2020 1:39:00 GMT -8
Sure, why not.
Added 3 command line switches: /enable, /disable, and /toggle.
These will only execute the action and close the app, without showing the tray icon.
|
|
|
Post by anixx on Feb 2, 2020 5:35:31 GMT -8
This is very useful, thanks!
This program is already very useful, but if you plan to expand it, I have some ideas.
for instance,
* Have an option to delete the theme section forever, as ClassicThemeA.exe does (this may free some memory). * Have an option to enable and disable Classic Theme for certain session number. * Have an option to include or not include the System user (UAC prompt on Win8.1, maybe something else as well).
Also,
* On Win8.1 the Fixstrips and removing blur from the taskbar would be very useful (already implemented in SCT) * Setting UPM bit for 3D menues (also already implemented in SCT).
* Also, what about a version for ARM architecture?
I think this functionality which does not deal with third-party software could be very useful and lightweight.
I do not think these functions should be added to the GUI (lets keep it simple) but only to the command line as separate independent options (e.g, not triggered automatically on /enable).
|
|
|
Post by leet on Feb 2, 2020 7:41:04 GMT -8
You state that Windows 8 is compatible. It sadly isn't
|
|
|
Post by anixx on Feb 3, 2020 6:10:29 GMT -8
You state that Windows 8 is compatible. It sadly isn't I tested it on Win 8.1, it works.
|
|
|
Post by leet on Feb 3, 2020 11:26:05 GMT -8
I know. I was talking about Windows 8.
|
|
|
Post by leet on Feb 3, 2020 12:05:39 GMT -8
Have been using this for a day and it's seriously awesome! Allows me to quickly turn off classic before certain programs load and then enable it again. Sooooo much better than opening sct... waiting 10 seconds... clicking enable... and then having to close it. Nice job!
|
|
kamuisuki
Regular Member
~
Posts: 499
OS: Windows Me
Theme: 5048
CPU: Intel Pentium III-S Tualatin
RAM: 2048
GPU: GeForce 3Ti 500
|
Post by kamuisuki on Feb 14, 2020 13:01:36 GMT -8
Windows and Antivirus say is a virus.. dont lets me try , even i allow it to run
|
|
|
Post by leet on Feb 15, 2020 5:02:09 GMT -8
If you wan't to do almost ANYTHING Classic Theme related, you need to disable defender or any other antivirus. They're just going to give you false-positives. (The issue is that most of these utilities access undocumented API calls and/or API calls that only trusted Windows programs would normally make)
|
|
veselcraft
Freshman Member
Posts: 46
OS: Windows 10 LTSB
Theme: Win 2k
|
Post by veselcraft on Feb 15, 2020 23:11:34 GMT -8
Windows and Antivirus say is a virus.. dont lets me try , even i allow it to run remember when my program on VB with aero transparency has been detected as virus by avast
|
|
|
Post by daemonspudguy on Feb 24, 2020 12:58:16 GMT -8
I tried this on LTSC 2016 and it didn't do anything. Am I missing something here? EDIT: Well I'm a fracking idiot. I forgot explorer would need restarting.
|
|
|
Post by Spitfire_x86 on Feb 24, 2020 23:35:50 GMT -8
* Also, what about a version for ARM architecture? It's compiled as anycpu, so unless the process to enable Classic is different on ARM Windows versions, it should run without issues (I don't have a device to test it though).
|
|
|
Post by Splitwirez on Mar 5, 2020 9:36:06 GMT -8
So, I decided to see if I could do anything useful with your program. I was unsuccessful, but I did find something potentially interesting: I've had partial success getting existing Windows to notice the theme change by trying to send the messages an app would normally receive when the Classic Theme is enabled. Thus far, I've not gotten this approach to work 100% correctly in both directions for even a single program, but I have managed to get an existing instance of Windows 7's Task Manager to almost fully switch from Visual Styles to the Classic Theme (but not go back), send File Explorer into an identity crisis, cause Pale Moon to insist on making its titlebars largely invisible, and do some very...strange things to Notepad++, which I can't even begin to understand. While I don't think I'll be able to perfect this approach, I will provide what I have so far, in case you or anyone else are interested in pursuing this further:
[DllImport("uxtheme.dll", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Unicode)] public static extern int SetWindowTheme(IntPtr hWnd, string pszSubAppName, string pszSubIdList); [DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, IntPtr lParam); public static void SendThemeMessages(IntPtr target) { SendMessage(target, 0x0031, 0, IntPtr.Zero); //WM_DWMCOMPOSITIONCHANGED SetWindowTheme(target, " ", " ");
SendMessage(target, 0x0015, 0, IntPtr.Zero); //WM_SYSCOLORCHANGE SendMessage(target, 0x031A, 0, IntPtr.Zero); //WM_THEMECHANGED SendMessage(target, 0x000f, 0, IntPtr.Zero); //WM_PAINT SendMessage(target, 0x0085, 0, IntPtr.Zero); //WM_NCPAINT
foreach (IntPtr ptr in GetAllChildHandles(target)) SendThemeMessages(ptr); }
Just call this for all currently-open top-level Windows, and it will try to do the rest. And fail miserably, in most cases. Also, this is only tested on Windows 8.1, I have no clue what it'll do on Windows 10 (if anything).
|
|
|
Post by leet on May 9, 2020 14:13:18 GMT -8
So, I decided to see if I could do anything useful with your program. I was unsuccessful, but I did find something potentially interesting: I've had partial success getting existing Windows to notice the theme change by trying to send the messages an app would normally receive when the Classic Theme is enabled. Thus far, I've not gotten this approach to work 100% correctly in both directions for even a single program, but I have managed to get an existing instance of Windows 7's Task Manager to almost fully switch from Visual Styles to the Classic Theme (but not go back), send File Explorer into an identity crisis, cause Pale Moon to insist on making its titlebars largely invisible, and do some very...strange things to Notepad++, which I can't even begin to understand. While I don't think I'll be able to perfect this approach, I will provide what I have so far, in case you or anyone else are interested in pursuing this further: [DllImport("uxtheme.dll", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Unicode)] public static extern int SetWindowTheme(IntPtr hWnd, string pszSubAppName, string pszSubIdList); [DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, IntPtr lParam); public static void SendThemeMessages(IntPtr target) { SendMessage(target, 0x0031, 0, IntPtr.Zero); //WM_DWMCOMPOSITIONCHANGED SetWindowTheme(target, " ", " ");
SendMessage(target, 0x0015, 0, IntPtr.Zero); //WM_SYSCOLORCHANGE SendMessage(target, 0x031A, 0, IntPtr.Zero); //WM_THEMECHANGED SendMessage(target, 0x000f, 0, IntPtr.Zero); //WM_PAINT SendMessage(target, 0x0085, 0, IntPtr.Zero); //WM_NCPAINT
foreach (IntPtr ptr in GetAllChildHandles(target)) SendThemeMessages(ptr); }
Just call this for all currently-open top-level Windows, and it will try to do the rest. And fail miserably, in most cases. Also, this is only tested on Windows 8.1, I have no clue what it'll do on Windows 10 (if anything). On Windows 10 this single piece of code (C# interactive):
using System.Runtime.InteropServices [DllImport("user32.dll", CharSet = CharSet.Ansi)] public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, uint wParam, uintlParam);' SendMessage(0xffff, 0x031A, 0, 0);
Straight up crashes GDI, resulting in multiple flashes and eventually a log out (which completely messes up scaling so a restart is required).
|
|
|
Post by michaeljackson on May 18, 2020 7:58:22 GMT -8
Theres malware..
|
|
|
Post by leet on May 18, 2020 9:31:07 GMT -8
Nope, false positive
|
|
|
Post by michaeljackson on May 18, 2020 9:40:41 GMT -8
|
|
|
Post by help on May 18, 2020 11:26:05 GMT -8
This is true, I tried to download it as a joke and AVG did not let me because it had malware. it has malware dont deny
|
|
|
Post by leet on May 18, 2020 11:53:08 GMT -8
Lemme teach y’all something. Antivirus programs are literall jokes. Remember the WannaCry virus? Took them antivirus programs 15 days to actually detect it. Since most virusses are 0-days, anticirus software is pretty much useless. What it does flag is innocent pieces of software that change stuff with Windows. Most cases are just false positives
|
|