title: Change the color of the title bar (caption) of a win32 application
body: <p>I want to change the color of the title bar in my application as I have seen done in programs such as Skype Preview. I have found only one solution offered on the internet for this (WM_NCPAINT) which seems to require me to draw a completely custom title bar which is of course not ideal when all I want to do is change the background color. Is anyone aware of a better solution? Someone suggested hooking GetSysColor, but it is never called with an index of 2 (COLOR_ACTIVECAPTION) so the color is being retrieved from elsewhere.</p>
  <p>Current title bar:</p>
  <p><a href="https://i.stack.imgur.com/WVGDv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WVGDv.png" alt="" /></a><br />
  <sub>(source: <a href="https://cdn.pbrd.co/images/fuI0GBSuK.png" rel="noreferrer">pbrd.co</a>)</sub></p>
  <p>End goal:</p>
  <p><a href="https://i.stack.imgur.com/6rA5X.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6rA5X.png" alt="" /></a></p>