NTStyle icon indicating copy to clipboard operation
NTStyle copied to clipboard

Issue with windows under certain versions of Photoshop

Open brannanz opened this issue 1 year ago • 5 comments

In Photoshop CS2, both MDI child windows and the main window appear to be correctly themed, but on resize they will flicker with the windows 95 window theme, then flicker back to NTStyle's 3.1 theme - this will only occour if bottom right gripper is used to resize the window, and if you pull the gripper left or up (WTF?):

Correct styling: image

When resizing using the gripper: image

brannanz avatar Apr 15 '24 08:04 brannanz

The current window hook that I use to draw window borders sucks, apologies for that. This'll either be fixed in the next few months or in two years.

freedom7341 avatar Apr 15 '24 17:04 freedom7341

this will only occour if bottom right gripper is used to resize the window, and if you pull the gripper left or up (WTF?)

This may be occurring due to a non-default window procedure in the application.

kawapure avatar Apr 15 '24 18:04 kawapure

@kawapure Actually this appears in 90% of any app with a gripper, not just Photoshop

brannanz avatar Apr 16 '24 12:04 brannanz

does this happen if it's not an MDI window?

TheColorOfFear avatar Apr 16 '24 17:04 TheColorOfFear

I currently draw windows using a slew of window messages with a hook on every active window. Unfortunately, this means that if a window updates and it's not caught by one of these messages then it won't be drawn. I'm working on hooking the actual drawing functions (similar to UxTheme) which should eliminate many of the problems.

freedom7341 avatar Apr 16 '24 18:04 freedom7341