You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using PuttyTray previously, but wanted to switch to your version for 24-bit color support.
Your version works fine, but why does it not use the normal UI theme (Vista with the default theme, see image below)?
PuttyTray looks like any other window on my desktop, with the proper theme decoration, but your version gets the XP treatment.
Any idea why that happens? I tried to look at the source code, but the CreateWindow() call in window.c seem identical in both repositories. Is there something else that triggers this UI difference?
The text was updated successfully, but these errors were encountered:
I figured it out. Well, partially. Here is a response from the PuTTY maintainers:
I'm afraid the most likely culprit I could see is the locking down
of the DLL search path to prevent hijacking attacks.
If you're able to build PuTTY yourself, you could try removing the call
to dll_hijacking_protection() at the start of WinMain() in
windows/window.c and see if that makes a difference.
Removing dll_hijacking_protection restores the proper theme decoration. But this of course then prevents hijacking protection.
Don't know how to fix both of these issues at the same time, but at least I know where the problem is now.
I've been using PuttyTray previously, but wanted to switch to your version for 24-bit color support.
Your version works fine, but why does it not use the normal UI theme (Vista with the default theme, see image below)?
PuttyTray looks like any other window on my desktop, with the proper theme decoration, but your version gets the XP treatment.
Any idea why that happens? I tried to look at the source code, but the CreateWindow() call in
window.c
seem identical in both repositories. Is there something else that triggers this UI difference?The text was updated successfully, but these errors were encountered: