Jason Brooks
May 14th, 1999, 05:59 PM
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
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