title: TreeView - Set default select item and highlight (blue) this item
body: <p>When I create a TreeView Control, insert several items, then I use TVM_SELECTITEM to select an default item. But this item is not highlighted by blue color. Later, if I use mouse or keyboard to select an item, it will be highlighted.</p>
  
  <p>So how to make the default item being highlighted?</p>
  
  <p>This is the function and parameters I used:</p>
  
  <pre><code>SendMessage(hTreeView, TVM_SELECTITEM, TVGN_CARET, (LPARAM)hItem);
  </code></pre>
  
  <hr>
  
  <p>I just found I just need to set focus on TreeView control and it works.</p>
  
  <p>But how do I have a gray highlight on the item even when TreeView lose the focus, when users select some options, like the following picture:</p>
  
  <p><img src="https://i.stack.imgur.com/yF0CW.png" alt="enter image description here"></p>