InvalidateRect应该可以吧
但是InvalidateRect只是无效化区域,要马上看到效果的话还需要UpdateWindow一下

解决方案 »

  1.   

    InvalidateRect() 是使指定区域无效,下次刷新就会刷新该区域,应该符合你的要求
    是不是你在刷新时候又手动的刷新了啊
      

  2.   

    同时注意他的第二个参数
    If bErase is TRUE for any part of the update region, the background in the entire region is erased, not just in the given part. 
    你设置为false看看
      

  3.   

    InvalidateRect();
    UpdateWindow();
    应该很好..
      

  4.   

    参数用FALSE
    不要使用默认的TRUE
    需要双缓冲机制下才有用