How to avoid Flickering in my SDI application?

2019-09-11 23:34发布

I created 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.

标签: mfc
1条回答
男人必须洒脱
2楼-- · 2019-09-12 00:00

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.

查看更多
登录 后发表回答