摘要
基于Microsoft Windows应用程序,当窗口内容不断被刷新时总是会产生闪烁现象。特别针对立体图像对窗口显示,要求在屏幕回扫周期内完成窗口图像的切换刷新,必须避免闪烁现象的发生。通过分析Microsoft Windows设备描述表DC)和WM_PAINT消息机制,介绍了一种应用离屏DC实现窗口无闪烁图像显示的技术,并给出了基于MFC的实现类。
:In Microsoft Windows-based applications,all the standard windows controls flicker when updated at frequent intervals.Especially when stereo image-pairs are displayed on windows,it is necessary to finish the image reversing according to the refresh rate of computer system.Accordingly,the flicker phenomenon must be avoided.Through analysis of the Microsoft Windows contextDC) and WM_PAINT message mechanism,a technique for image displaying to a window device context without flicker is described in this paper.In such a way the screen does not flicker.In addition,an MFC-based class is also provided.
出处
《中国民航学院学报》
2001年第3期38-41,共4页
Journal of Civil Aviation University of China