On Fri Jun 27 08:39:01 2025 +0000, Zhiyi Zhang wrote:
I added that message sequence to show that the header is painted before WM_ERASEBKGND for the listview. Without the sequence, it might seem there are other possibilities. For example, the BeginPaint(listview) could be ahead of UpdateWindow(header), or maybe no WM_ERASEBKGND should be sent. Even if it remains a todo after the fix, I think it provides some insight about how it's supposed to work. So I would like to keep it if that's okay.
I see, so validating header rect reduces following erase region and preserves rendered header?