Avatar of Surfer
Surfer

asked on 

Add MFC controls (CButton, CListCtrl, etc. ) to CWnd derived class without producing flicker?

I have modified a CWnd derived class to use a custom background by modifying the OnEraseBkgnd() and OnSize() methods. To eliminate flicker, I  am using a memory DC in the OnEraseBkgnd() method.  This works great.

My questin is , how best to add MFC controls (CButton, CListCtrl, etc. ) to this client area without producing flicker?
Microsoft DevelopmentC++Visual C++.NET

Avatar of undefined
Last Comment
Surfer

8/22/2022 - Mon