clear image on screen vc++6.0 ?????
-
hi everybody. I draw on screen image BITMAP by load form file image Bitmap with size 10x10 inch. after, i want clear it to show image with size 1x1 inch, but invisible doing it. can you guide clear image on screen?. wish you help. thanks very much. regards, phan
nothing
-
hi everybody. I draw on screen image BITMAP by load form file image Bitmap with size 10x10 inch. after, i want clear it to show image with size 1x1 inch, but invisible doing it. can you guide clear image on screen?. wish you help. thanks very much. regards, phan
nothing
-
hi everybody. I draw on screen image BITMAP by load form file image Bitmap with size 10x10 inch. after, i want clear it to show image with size 1x1 inch, but invisible doing it. can you guide clear image on screen?. wish you help. thanks very much. regards, phan
nothing
-
This function will do StretchBlt[^]
Regards, Srinivas
hi you. thanks for your help.this is functions i used: sOldBltMode = SetStretchBltMode( hDC, STRETCH_DELETESCANS ); // Create the palette. hPal = CreateDibPalette(); if ( hPal ) { hOldPal = SelectPalette( hDC, hPal, FALSE ); if ( hOldPal ) RealizePalette(hDC); } StretchDibBlt( hDC, r.left, r.top, r.Width(), r.Height(), hMem, Source.left, Source.top, Source.Width(), Source.Height(), SRCCOPY ); if ( hPal && hOldPal ) SelectPalette( hDC, hOldPal, FALSE ); if ( hPal ) DeleteObject( hPal ); // Reset the stretch mode. SetStretchBltMode( hDC, sOldBltMode ); ===> first.I show image 10x10inch from file image bitmap. after,i double lick into it, and i will show properties. i choice size 1x1inch. size 10x10inch not yet clear. have i must clear image 10x10inch ? wish your help
nothing