原创 OnEraseBkGnd與OnPaint

問題是這樣產生的.在OnEraseBkGnd中,如果你不調用原來缺省 的OnEraseBkGnd只是重畫背景則不會有閃爍.而在OnPaint裏面, 由於它隱含的調用了OnEraseBkGnd,而你又沒有處理OnEraseBkGnd 函數,