Skip to content

Improve translucency support for classic Win32 dialogs#4227

Open
hellsxquiet wants to merge 1 commit into
ramensoftware:mainfrom
hellsxquiet:patch-2
Open

Improve translucency support for classic Win32 dialogs#4227
hellsxquiet wants to merge 1 commit into
ramensoftware:mainfrom
hellsxquiet:patch-2

Conversation

@hellsxquiet
Copy link
Copy Markdown

@hellsxquiet hellsxquiet commented May 29, 2026

Allow #32770 dialog windows to receive translucency effects.

This change improves compatibility with classic Win32 dialogs such as:

  • System Properties
  • Performance Options
  • Programs and Features
  • Internet Options
  • File and Folder Properties
  • And more

Classic Win32 dialogs (#32770) were not considered eligible windows, preventing translucency from being applied. Also, COLOR_BTNFACE was excluded from the custom system color set, preventing dialog client areas from fully participating in the translucency effect.

image_2026-05-29_145817303 image

Changelog

If this pull request updates an existing mod, describe the changes below:

  • Allow classic Win32 dialog windows (#32770) to receive translucency effects
  • Include COLOR_BTNFACE in the custom system color set used for translucency rendering

Mod authorship

If this pull request introduces a new mod, please complete the section below.

This mod was created by:

    • The submitter, without AI assistance
    • The submitter, with AI assistance
    • Claude
    • ChatGPT
    • Gemini
    • Another AI (please specify):
    • Other (please specify):

Please select the options that best apply. Your selection does not affect the acceptance criteria, but it helps reviewers understand the context of the code and provide relevant feedback.

Allow #32770 dialog windows to receive translucency effects.

This change improves compatibility with classic Win32 dialogs such as:

- System Properties
- Performance Options
- Programs and Features
- Internet Options
- File and Folder Properties
- And more

Additionally, COLOR_BTNFACE is treated as a translucent background color, allowing dialog client areas to become translucent instead of only the title bar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant