title: Difference between HANDLE and HWND in Windows API?
body: <p>I'm trying to use function <code>SetForegroundWindow(HWND hWnD)</code>. I have some handles but it's not working as parameter of above function.  My handle is a thread and I want to run it in foreground.</p>
  
  <p>What are the differences between a HWND and a HANDLE?</p>