title: Transparent tree view control
body: <p>I want to create a tree view with transparent background, using pure Win32 API.</p>
  
  <p>After reading documentation from MSDN I was able to successfully create it, but there is nothing saying on how to make it transparent. Google doesn't help either, since examples are in MFC, and they do not create transparent background, but rather change tree's color by using TreeView_SetBkColor API or with TVM_SETBKCOLOR message.</p>
  
  <p><strong>Just for an example</strong>, I have created window like this one below:</p>
  
  <p><img src="https://i.stack.imgur.com/UI28P.png" alt="enter image description here"></p>
  
  <p>And I have added tree view as a child window like this:</p>
  
  <p><img src="https://i.stack.imgur.com/jlDIM.png" alt="enter image description here"></p>
  
  <p>My question is: How do I make tree's background transparent so the picture behind it can be seen ?</p>
  
  <h2>EDIT #2:</h2>
  
  <p>If anybody else has a better answer/suggestion, please post it, but at this point I will accept Joel's solution.</p>
  
  <hr>