Darkmode

  1. ‹ Older
  2. 10 months ago

    Alfred V

    17 Dec 2018 Pre-Release Testers

    Apple surely suggests to assign colors in the draw event, i.e., the paint event. In there you can call IsDarkMode so you can know what to do. The appearancechange event just tells you that the change is going to happen, but setting colors over there won't work because the actual change occurs a bit later. So there is no point to propagate the Appearance Change event to your classes.

    On windows, you should apply the same technique yet the IsDarkMode isn't doing anything good (at least that's what is being experienced when dealing with adjusting a plugin). Make sure you assign the colors in paint.

  3. Jan R

    20 Dec 2018 Munich, Germany

    @Karen A My point is... I cannot afford to rebuild 27 windows

    Oh, by the way - I have subclassed the window and have then assigned that subclass to about 85 windows. Worked perfectly :)

or Sign Up to reply!