|
-
May 14th, 1999, 05:59 PM
#1
Flicker Free Dialog Bitmaps
Hello,
I'm updating a Virtual Bitmap and blitting to a RECT in my Dialog Based Application. However everytime I InvalidateRect( &m_Area ) the subsequent PAINT Flickers. If I was using an SDI or MDI template, then I could over ride WM_ERASEBKGND, however Dialog Based MFC Applications don't appear to support this message so I can't appear to over ride it.
Can anyone point me in the right direction?
I am creating the bitmap to blit off-screen and only Invalidating the area that needs updating.
Many Thanks
Jason
http://www.netcomuk.co.uk/~jbrooks
-
May 14th, 1999, 09:25 PM
#2
Re: Flicker Free Dialog Bitmaps
Are you doing this in your WM_PAINT override?
Wayne
-
May 14th, 1999, 10:01 PM
#3
Re: Flicker Free Dialog Bitmaps
When you call InvalidateRect, add the second argument as FALSE.
That is,
InvalidateRect( &m_Area, FALSE )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|