MFC CEditView redraws twice

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dorito
    New Member
    • Jun 2009
    • 18

    MFC CEditView redraws twice

    I have a MFC tabbed MDI application in which the tabbed child window types are CEditView, CRichEditView and CView. I've noticed that when I switch between them (click the top of the tab to make that window the active window) they repaint the client area, as expected, but the CEditView windows flicker .. and I can see they are repainting twice (at least) for some reason. The CView and CRichEditView windows only repaint once.

    Even if the CEditView window is already the active tab, if I click the top of the window, it gets redrawn twice ... with a flicker.

    Since this redraw/flicker is annoying - does anyone have an idea why it would redraw more than once?

    Thx,
Working...