<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vstuart.foote@utsa.edu" title="V Stuart Foote <vstuart.foote@utsa.edu>"> <span class="fn">V Stuart Foote</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add support for Windows 10 dark mode"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118320">bug 118320</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>quikee@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add support for Windows 10 dark mode"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118320#c40">Comment # 40</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add support for Windows 10 dark mode"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118320">bug 118320</a>
              from <span class="vcard"><a class="email" href="mailto:vstuart.foote@utsa.edu" title="V Stuart Foote <vstuart.foote@utsa.edu>"> <span class="fn">V Stuart Foote</span></a>
</span></b>
        <pre>@Mike, Tomaž, *

In <a href="show_bug.cgi?id=118320#c16">comment 16</a>, Adolfo had mentioned the 'AppsUseLightTheme' registry detection
that the Chromium project had adopted. That looks to still be valid--but does
not directly read the Windows UI theme.

One of the other suggestions in a Stack Overflow thread [1] is that the Windows
RT API does support use on normal win32 desktop programs.

Looking at winrt API [2], example suggests with

#include <winrt/Windows.UI.ViewManagement.h>
using namespace winrt::Windows::UI::ViewManagement;

calls to the winrt UISettings namespace expose the UWP and Desktop UI to c++
calls for normal win32 desktop apps.

It would be Windows 10 only, but if not too problematic for building, it might
expose the full Windows UI theming for LO to parse?

Win7, Win8.1 would remain unsupported--and issues with HC mode toggle like bug
99116 would remain.


=-ref-=
[1]
<a href="https://stackoverflow.com/questions/51334674/how-to-detect-windows-10-light-dark-mode-in-win32-application">https://stackoverflow.com/questions/51334674/how-to-detect-windows-10-light-dark-mode-in-win32-application</a>

[2]
<a href="https://docs.microsoft.com/en-us/uwp/api/Windows.UI.ViewManagement.UISettings?view=winrt-19041">https://docs.microsoft.com/en-us/uwp/api/Windows.UI.ViewManagement.UISettings?view=winrt-19041</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>