just coded a small demo that captures the desktop window, and then tries to scale it down and draw it to my dialog' hDC.
Problem is, I'm using StretchBlt, and the final results are quite ugly. I've read several stuff that instructs us to use SetStretchBltMode and SetBrushOrgEx. The end result just isn't up to scratch.
Is there some solution, even if it involves GDI+/ OpenGL/ DirectX/ DirecDraw that can draw into my dialog and resize my original bitmap perfectly?
Also, I'm looking for a somewhat fast solution. I wouldn't want this to take more than 1sec to draw...
Thanks for any tips on this.
Have a great week.