开发者

How to avoid Flickering in my SDI application?

开发者 https://www.devze.com 2022-12-13 13:15 出处:网络
I cr开发者_StackOverflow社区eated an SDI application in vc++ having multiple views in it. When i re-size the SDI application it is getting flickered. I tried returning \"TRUE\" in \"oneraseBackGround\

I cr开发者_StackOverflow社区eated an SDI application in vc++ having multiple views in it. When i re-size the SDI application it is getting flickered. I tried returning "TRUE" in "oneraseBackGround" function. But that is causing my application refresh issue.

Please guide me on the same.


You need to use double-buffering. Let me share with you an interesting link where a class which solves your problem is implemented:

http://www.codeproject.com/KB/GDI/flickerfree.aspx

I hope it can solve your problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消