title: How to create shell styled title bar buttons in .NET
body: <p>This is a follow-up to my earlier question <a href="https://stackoverflow.com/questions/4117874/draw-custom-buttons-on-windows-vista-7-aero-titlebar">Draw Custom Buttons on Windows Vista/7 Aero Titlebar</a>.</p>
  
  <p>I revisited the topic quite recently and found <a href="http://www.thecodeking.co.uk/2007/09/adding-caption-buttons-to-non-client.html" rel="nofollow noreferrer" title="Adding caption buttons to the Non-client area on Vista">this article</a> which is essentially a hack to 'drawing' buttons on Aero-enabled title bar (Windows Vista &amp; 7). What the code does is to create a transparent window over the current one and places the buttons on it, giving the impression of additional buttons on the title bar. The only problem is the buttons look like regular WinForms buttons!</p>
  
  <p>My question is, how do I read the windows shell style (aka theme) in order to create buttons styled just like those in the Control Box <em>(see image)</em>?</p>
  
  <p>I'd like answers to be in .NET (VB.NET or C#). I'm okay with unmanaged code.</p>
  
  <p><img src="https://i.stack.imgur.com/8tTEv.png" alt="Control Buttons"></p>