Skip to content

Fix ToggleExtendedWindowStyle not working on visible = true#255

Merged
dotMorten merged 1 commit intodotMorten:mainfrom
luojunyuan:patch-1
Mar 24, 2026
Merged

Fix ToggleExtendedWindowStyle not working on visible = true#255
dotMorten merged 1 commit intodotMorten:mainfrom
luojunyuan:patch-1

Conversation

@luojunyuan
Copy link
Copy Markdown
Contributor

This caused a lot of confusion for me.

follow-up to #249

This caused a lot of confusion for me.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes ToggleExtendedWindowStyle so that passing visible = true correctly enables (adds) the specified extended window style flags, matching the behavior of ToggleWindowStyle and the intent of the API. This is a follow-up to PR #249, which addressed the same issue for non-extended window styles.

Changes:

  • Replace an incorrect bitwise AND with bitwise OR when enabling an extended window style flag in ToggleExtendedWindowStyle.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dotMorten dotMorten merged commit 731d83a into dotMorten:main Mar 24, 2026
5 checks passed
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.

3 participants