title: How do I display open IE tabs as DWM thumbnails?
body: <p>I am building a WPF application in C# and I want to display thumbnails of open IE tabs in a listbox. I'm essentially trying to duplicate the DWM functionality in Windows 7.</p>
  
  <p><img src="https://i.stack.imgur.com/N7hKl.png" alt="Windows 7 showing open IE tabs"></p>
  
  <p>I have figured out how to enumerate a list of open tabs using Interop.ShDocVW, but in order to use the DWM API calls, I have to pass in an <code>hwnd</code>, and the tabs all share the same handle as Internet Explorer.</p>
  
  <p>So I've been messing with <code>EnumWindows</code> and <code>EnumChildWindows</code> but I can't get anything to work.</p>
  
  <p>Any suggestions on how to best approach this?</p>