displaying bitmaps
-
hi everyone im developing an MFC project that(among other things) displays a bitmap directly on the form. the problem is that when i draw a large picture and move the windows several times it stops displaying!! or display a part of the picture. any help ??
-
hi everyone im developing an MFC project that(among other things) displays a bitmap directly on the form. the problem is that when i draw a large picture and move the windows several times it stops displaying!! or display a part of the picture. any help ??
Hi Amr Shahin, Stop display? do you use WM_PAINT Can you be more specific
-
hi everyone im developing an MFC project that(among other things) displays a bitmap directly on the form. the problem is that when i draw a large picture and move the windows several times it stops displaying!! or display a part of the picture. any help ??
Are you using a CStatic object or you draw it directly by OnPaint method? The first is a sure way to do the drawing but for the second method you need a double buffered DC to erase any flickering on the screen / window. Good luck and good coding!
-
Are you using a CStatic object or you draw it directly by OnPaint method? The first is a sure way to do the drawing but for the second method you need a double buffered DC to erase any flickering on the screen / window. Good luck and good coding!
im using the onpaint method; so i guess i should use the double buffered DC; the problem that i dont know what the double buffered DC is !!! :$. i only use regular DC! can u plz tell me how to use a double buffered DC ?? thanks alot
-
im using the onpaint method; so i guess i should use the double buffered DC; the problem that i dont know what the double buffered DC is !!! :$. i only use regular DC! can u plz tell me how to use a double buffered DC ?? thanks alot
I recommend you use Keith Rule's Flicker Free Drawing In MFC[^] Good luck and keep the good coding!