title: Is there any way to draw Webbrowser content to a specific DC?
body: <p>These days, I tries to create a hiden WebBrowser control in my program, and Using the IViewObject interface draw to my custom DC.</p>
  
  <p>The result is fine, I got All the content I want, but the Draw speed is unacceptable, especially some complex web pages which contains Flash objects, <strong>Each Draw to DC cost more than 100 ms</strong>. So the flash object I drew is not smooth. </p>
  
  <p><strong>Is there a fast way to draw the control to my a specific DC?</strong></p>
  
  <p>my code sinpet is like this:</p>
  
  <pre><code>//hCompDc is a CompatibleDC which select a CompatibleBitmap.
  RECTL imageRect = {0, 0, nWidth, nHeight};
  pHtmlDocument2-&gt;QueryInterface(IID_IViewObject, (void **)&amp;pViewObject);
  pViewObject-&gt;Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL, hCompDc, NULL, &amp;imageRect, NULL, 0);
  </code></pre>
  
  <p>Thank you for reading this question.</p>
  
  <p>Waiting for your answers~ </p>