title: BitBlt not able to capture the title bar correctly
body: <p>I am using the code below to capture a screenshot of a window using bltblt. However the titlebar appears  completely black in the captured screenshot. I am running the code on Windows 8.1. Is there a way i can correctly capture the title bar.</p>
  
  <pre><code>// Retrieve the handle to a display device context for the sourceWindow
  hdcScreen = GetDC(ss);
  // Retrieve the handle to a display device context for the dest window
  hdcWindow = GetDC(hWnd);
  
  //Get the client area for size calculation
  RECT rcClient;
  GetWindowRect(ss, &amp;rcClient);
  
  if (!BitBlt(hdcWindow,
      0, 0,
      rcClient.right - rcClient.left, rcClient.bottom - rcClient.top,
      hdcScreen,
      0, 0,
      SRCCOPY|CAPTUREBLT))
  {
      MessageBox(hWnd, L"BitBlt has failed", L"Failed", MB_OK);
      goto done;
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/JwAh5.png" alt="Screenshot, the title bar is highlighted by a read rectangular box."></p>
  
  <p>EDIT:
  The window i am displaying the screenshot in would cover the entire desktop and will be constantly updating the screenshot of the window just behind it. Also, the window displaying the screenshot will always be the topmost window.</p>