问题描述
我正在使用表单(CFormview)进行绘制。如何使用FormView的OnEraseBkgnd函数?
通过以下评论复制OP的其他信息
我在MFC主机中插入了一个Form(CFormView)。在那种形式,当我要重新粉刷时,当时闪烁发生。为此,我将不得不使用EraseBackGround(在假模式下)功能。但是在''类向导的形式中,WM_ERASEBKGND不可用。那么如何以这种形式包含EraseBackGround函数?
I am using a Form(CFormview) for draw purpose. How to use OnEraseBkgnd function for FormView?
additional information by OP copied from comment below
I have inserted a Form (CFormView) in MFC Mainframe. In that form, when i am going to repaint, at the time flickering happen. For that i will have to use EraseBackGround (in false mode) function. But in the form''s class wizard WM_ERASEBKGND is not available. So how can i include EraseBackGround function in that form?
推荐答案
这篇关于如何在CFormView中使用EraseBackground函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!