调整/重绘自己的窗口会影响其他程序。 [英] Resizing / Redrawing own Window affects other Programs.
问题描述
您好。
每当我使用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屋!