Eliminating Flicker in a Property Sheet
Posted on 1998-08-15
I've got a CPropertySheet derived class running in wizard mode which contains several property pages. Each property page displays the same bitmap within a static control in the same location, similar to the familiar InstallShield wizard. When I change between pages, the control's frame and client area is erased (by MFC I assume) and the CPropertyPage derived class for the selected property page's OnPaint() function is called to fill in the bitmap. This works fine, except the erasing causes noticable flicker. How can I eliminate this ?