应用程序在调整大小时闪烁,并且调整大小非常慢. [英] Application flickers on resizing and resizes very slow.

查看:94
本文介绍了应用程序在调整大小时闪烁,并且调整大小非常慢.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有人可以告诉我如何减少/消除闪烁并加快此项目中的重绘.

http://dl.dropbox.com/u/18687229/Versions.7z [ ^ ]

我一直在摆弄:​​
userpaint
双缓冲
悬浮布局
开始调整大小/结束调整大小

自定义控件GradientGroupBox在我创建的其他一些项目中也可以完美运行,所以我认为这不是问题.

有人可以帮我吗?

Thnx

Hi,

can someone tell me how to reduce/eliminate the flickering and speed up redraw in this project.

http://dl.dropbox.com/u/18687229/Versions.7z[^]

I''ve been fiddling with:
userpaint
doublebuffer
suspendlayout
begin resize / end resize

The custom controll GradientGroupBox is working perfectly in some other projects I made, so I don''t think this is the problem.

Can someone help me with this one.

Thnx

推荐答案

在paint事件中进行图形操作的任何地方都使用双缓冲区.
Use double buffer wherever you make graphics operations in the paint event.


我已经尝试过在所有地方,没有改善.如果有时间,请看一下代码.

Thnx
I''ve tried double buffering in all places, no improvement. Take a look at the code if you have the time.

Thnx


这篇关于应用程序在调整大小时闪烁,并且调整大小非常慢.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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