Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with windows under certain versions of Photoshop #6

Open
brannanz opened this issue Apr 15, 2024 · 5 comments
Open

Issue with windows under certain versions of Photoshop #6

brannanz opened this issue Apr 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@brannanz
Copy link

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 brannanz changed the title Issue with MDI windows under certain versions of Photoshop Issue with windows under certain versions of Photoshop Apr 15, 2024
@freedom7341 freedom7341 added the bug Something isn't working label Apr 15, 2024
@freedom7341
Copy link
Collaborator

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.

@kawapure
Copy link

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.

@brannanz
Copy link
Author

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

@TheColorOfFear
Copy link

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

@freedom7341
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants