title: Capture Hidden window with aero effects
body: <p>I am trying to capture windows hidden behind my application. I am using windows 7 and VC++. I have tried <code>printwindow()</code> function which draws the both non-client and client area of hidden window, but captured window in the device context doesn't show desktop composition effects(aero effects). Instead it shows the captured window with windows 7 basic theme.</p>
  
  <p>I have also tried with <code>GetWindowDC()</code> to retrive the DC of hidden window, and then <code>Bitblt()</code> it to memory DC but the captured window doesn't show non-client area (caption, close button, minimize button etc) correctly.</p>
  
  <p>Anybody faced this issue?
  Please help.</p>