首页 新闻 会员 周边

window的强制刷新

0
悬赏园豆:20 [已关闭问题]

After some operation app window contains 'old' drawings.

If I drag my window outside of screen bounds, it repaints and 'old' drawings

are gone.

So I consider my window needs only repainting.

Whatever I try - UpdateWindow, RedrawWindow - nothing happens. How to

repaint window client region 'right now' ?

I'm not sure about RedrawWindow - what exactly parameters I should use ?

thank you

jamestan的主页 jamestan | 初学一级 | 园豆:100
提问于:2009-08-21 16:36
< >
分享
其他回答(2)
0

Invalidate();了吗

winzheng | 园豆:8797 (大侠五级) | 2009-08-22 15:38
0

关注。

博弈IT | 园豆:366 (菜鸟二级) | 2009-08-22 22:55
0

InvalidateRect (hwnd, NULL, TRUE) ;

水星人已隐匿 | 园豆:205 (菜鸟二级) | 2009-09-04 14:31
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册