Re: win32lib & a double buffer
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Nov 02, 1999
- 493 views
GrapeVine wrote: > bitBlt( GW, 5, 5, PW, 0, 0, 485, 485, 0) The arguments to bitBlt look backwards - the first value should be the destination, not the source. In this case, the destintation is the window (GW) and the source is the pixmap (PW). In addition, you need to specify a raster operation - probably SRCCOPY, if you are just copying the image: bitBlt( PW, 0, 0, 485, 485, GW, 5, 5, SRCCOPY ) If you are copying the entire bitmap to some point in the destination, you might try using the copyBlt() routine, which is a lot like drawBitmap. Hope this helps! -- David Cuny