调整/重绘自己的窗口会影响其他程序。 [英] Resizing / Redrawing own Window affects other Programs.

查看:59
本文介绍了调整/重绘自己的窗口会影响其他程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。



每当我使用InvalidateRect()重绘我的窗口时,其他已打开的程序(例如:TaskMgr)将还有重绘。


当其他程序完成绘制时,我的窗口开始被重绘。


在调整窗口大小时也会发生这种情况。


我删除了WM_PAINT中的代码。仍然发生...


解决方案

>每当我用InvalidateRect重绘我的窗口时(),其他打开的程序(例如:TaskMgr)也会重绘。


你还在做什么?

你在任何地方使用LockWindowUpdate吗?


Dave



Hi.

Everytime when i redraw my Window with InvalidateRect(), other opened Programs (e.g.: TaskMgr) will also redraw.

Just when the other Program has finished its draw, my window begins to be redrawn.

This happens also while resizing my Window.

I Removed the code in the WM_PAINT. Still happens...

解决方案

>Everytime when i redraw my Window with InvalidateRect(), other opened Programs (e.g.: TaskMgr) will also redraw.

What else are you doing?
Are you using LockWindowUpdate anywhere?

Dave


这篇关于调整/重绘自己的窗口会影响其他程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆