Win32 GUI flickering on resize
问题 I have a Win32 GUI program with a tab control, each tab having a list view control. There is massive flickering whenever the window is resized. I've tried the following things: Handling WM_ERASEBKGND in the main wndproc and returning TRUE. No effect. Filtering out all WM_ERASEBKGND messages in the event loop. No effect. Setting the WM_CLIPCHILDREN style on the main window. Now when the window is resized the list view control is simply erased to a white background and doesn't redraw. Using