❔ Changing TextBlock Background property in a static method
The method needs to be static (unless there are implementations of LowLevelKeyboardProc that doesn't require it). I am looking for any solution or workaround that will allow for it. Ultimately background needs to be changed on every click. My only idea for now is using INotifyPropertyChanged but all its uses I've seen are about view models so idk if it's possible to use it for this property too.
I can post rest if needed
17 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Would that change the background on inactive window too? That was my whole point of going down to LowLevelKeyboardProc
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
What are you making?
keyboard overlay
what's a keyboard overlay?
keyboard on the screen which displays various data
Ah, I see
how often you click, which buttons etc
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I already have everything else actually
I still don't know what should I exactly try (call me noob)
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
but how can I subscribe without using static method again?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Sorry for wasting your time, issue was me putting the subscriber in the wrong place for longer than 1h Thanks for help ❤️
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.