WM_PAINT和WM_ERASEBKGND消息
摘要:
1、OnPaint()函数是窗口重绘消息WM_PAINT的响应函数,当窗口重绘时会产生WM_ERASEBKGND消息和WM_PAINT消息,而且WM_ERASEBKGND会先于WM_PAINT产生,所以窗口重绘时,会先调用OnEraseBkGnd()擦除窗口,再调用OnPaint绘制窗口。如果你在O 阅读全文
posted @ 2015-04-03 17:02 整鬼专家 阅读(1400) 评论(0) 推荐(0) 编辑