# Msg.event for light/dark mode change

**URL:** <https://resource.dopus.com/t/msg-event-for-light-dark-mode-change/51750>\
**Category:** Help & Support\
**Created:** [July 10, 2024, 4:34pm UTC](https://resource.dopus.com/t/msg-event-for-light-dark-mode-change/51750 "2024-07-10T16:34:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![galaxyhub](https://resource.dopus.com/user_avatar/resource.dopus.com/galaxyhub/32/42793_2.png) [@galaxyhub](https://resource.dopus.com/u/galaxyhub)\
**Post date:** [July 10, 2024, 4:34pm UTC](https://resource.dopus.com/t/msg-event-for-light-dark-mode-change/51750/1 "2024-07-10T16:34:08Z")

</div>

It would be helpful to have an Msg.event for light/dark mode has been changed, please.

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [July 10, 2024, 5:01pm UTC](https://resource.dopus.com/t/msg-event-for-light-dark-mode-change/51750/2 "2024-07-10T17:01:04Z")

</div>

There's already [OnSystemSettingChange](https://docs.dopus.com/doku.php?id=reference:scripting_reference:scripting_events:onsystemsettingchange).

Within that event handler, you can use [DOpus.SendCustomMsg](https://docs.dopus.com/doku.php?id=reference:scripting_reference:scripting_objects:dopus) if you want to send a message to one of your dialogs.
