Replies: 1 comment 1 reply
-
That's because almost every Windows API is async. This is the expected behaviour. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On Windows, I'm using a
RwSignal
to store (and show) the system's current accent color.Further, I register a
SUBCLASSPROC
callback usingSetWindowSubclass
to get notified when the accent color is changed: In the callback, I update the value in theRwSignal
.If I now change the accent color in the Windows settings the callback is invoked immediately, but the UI does not show this change until I hover the window with the mouse or focus the window.
A workaround that I have found is calling
after changing the
RwSignal
. This causes the UI to be updated immediately.Is this the expected/desired behavior, and if so, what would be the best way to solve the problem?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions