is there an easy way to hook to an event that is triggered on change of global screen resolution?
Handle the following event:
Microsoft.Win32.SystemEvents.DisplaySettingsChanged
You may refer to this page for more details.
You may also wanna see the msdn article on SystemEvents class.
There are two events - SystemEvents.DisplaySettingsChanged
and SystemEvents.DisplayedSettingsChanging
which you can handle. Note that both events are static and you will need to detach your handlers before exiting from your program.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With