也不调用onDraw的,好像显卡记录了所有的线啊点的再去重画了,?实际的系统操作不知道是什么样的,有人解惑一下啊。
解决方案 »
- DirectShow BindToObject失败
- 去除网页图片
- 西安有哪些好单位?小弟明年硕士毕业,请指点一下
- JNI中的字符转换问题
- 请问CPropertySheet 是一个控件还是什么?
- 讲述程序员自己的故事
- 怎样设置弹出菜单的光标?谢谢
- 那位高手知道怎么搞定CJlib的打印预览问题?100分相送!
- ●●●●●●●●●●急急急急急急急急急急急急●●●●●●●●●●UP有分,分不够可再加
- 请问:怎么用dao创建一个access数据库怎么访问?在没有装access的电脑上能不能正常工作?
- CSocket的OnReceive响应问题
- 用CSocket的send发送图片,总是返回-1,GetLastError()返回10014
在ondraw里面,用整个window的hdc来重画(getdc()),看看,剪裁区是不是就没有效果了?其实奥妙都在BeginPaint里面呢
The invalidated areas accumulate in the update region until the region is processed when the next WM_PAINT message occurs or until the region is validated by using the ValidateRect or ValidateRgn function. The system sends a WM_PAINT message to a window whenever its update region is not empty and there are no other messages in the application queue for that window. If the bErase parameter is TRUE for any part of the update region, the background is erased in the entire region, not just in the specified part.