I am using gdiplus to draw a jpg image to the screen at wm_paint, then drawing lines on top of that using the Windows moveto and lineto. It works great, but the problem is that it blinks every time it redraws!! I don't see anywhere that the redrawing can be removed:
Any ideas??
Code:
call gdipcreatefromhdc(hdc&,graphics&) quality&=%qualitymodehigh call gdipgraphicsclear(graphics&,&hc0c0c0c0) call gdipsetinterpolationmode(graphics&,quality&) call gdipdrawimagerecti(graphics&,img&,0,0,xsz&,ysz&) call gdipdeletegraphics(graphics&)
Comment