title: Small problem with painting scroll bars with MFC
body: <p>In an MFC application there is a small rectangular region where the scroll bars meet (bottom right of the window).  It seems that this region only invalidates when the frame is resized.  On other occasions (for example, if another window is dragged over it), this region does not repaint.</p>
  
  <p>I've been able to reproduce it in VS 6 and 2008 on newly created projects.  I've also seen some commercial apps with the same problem.  To recreate it:</p>
  
  <ol>
  <li>Create a new SDI project with a CScrollView derived view.</li>
  <li>Resize the window so that both scroll bars are shown.</li>
  <li>Drag another window over that rectangle to see the repaint problem.</li>
  </ol>
  
  <p>Any ideas how to get rid of this?</p>