Reduce flicker with GDI+ and C++

前端 未结 6 1583
再見小時候
再見小時候 2020-11-29 21:17

I\'m using GDI+ in a C++/MFC application and I just can\'t seem to avoid flickering whenever the window is resized.

I have already tried these steps:

  • r
6条回答
  •  没有蜡笔的小新
    2020-11-29 21:42

    Make sure that the window class for the window does not include the CS_VREDRAW and CS_HREDRAW flags in its style.

    See http://msdn.microsoft.com/en-us/library/ms633574(VS.85).aspx

提交回复
热议问题