双缓冲问题 [英] Double buffering problem

查看:95
本文介绍了双缓冲问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试在OnPaint()函数的基于MFC C ++对话框的应用程序上获得双缓冲.我该怎么做?谢谢.

Hello, i''m trying to get double buffering on my MFC C++ dialog based app in OnPaint() function. How can i do it? Thanks.

推荐答案

尽管它不是直接使用MFC C ++,但您可以从以下位置获得一些信息:

此处 [ ^ ]

或(c#和VB的示例)
此处 [ ^ ]

或在这里cp
在MFC中进行无闪烁绘制 [
Although it is not directly MFC C++ you can get a bit info from:

here[^]

or (Example for c# and VB)
here[^]

or here at cp
Flicker Free Drawing In MFC[^]

I hope it helps you to understand the concepts and to start with your own code :)


这篇关于双缓冲问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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