Reflect Windows Theme

  • Thread starter Thread starter OSVBNET
  • Start date Start date
O

OSVBNET

Guest
Hey all,

The new Windows dark theme is reflected here:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize

AppsUseLightTheme dword 0/1

I can check the value on my app's form load event and set it once which will be static.

But I prefer to dynamically update app's theme with Widnows, so please advise:

Is there any event I can check when it changes instantly?

I can check that in a Timer of 1~3 seconds, but I'm afraid if using a Timer will have negative impact on my performance?

Please advise which is the best method to do so?

Thanks in advance :)

Continue reading...
 
Back
Top