title: Different colors of COLOR_WINDOW in Windows 10 and Windows XP
body: <p>In Windows 10 color of window equal of background colors of GUI elements. However, in Windows XP color of window is white, that is not equal of background colors of elements.</p>
  <p>WNDCLASSEX configuration:</p>
  <pre><code>    WNDCLASSEX wincl;
      //...
      wincl.hbrBackground = (HBRUSH)COLOR_WINDOW; // Set background color
      //...
      if (!RegisterClassEx (&amp;wincl))
          return 1;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/gEZOV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gEZOV.png" alt="Window in Windows 10" /></a>
  <a href="https://i.stack.imgur.com/4dVJT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4dVJT.png" alt="Window in Windows XP" /></a></p>
  <p>What is color I should use as window background in Windows XP?</p>