"Alexandre Julliard" julliard@winehq.org wrote:
I think it's much better, drawing directly will cause a lot of problems, especially when called from another thread context. Unless you really have an app that depends on not getting a WM_NCPAINT here I see no reason not to use the normal mechanisms.
OK, here is another patch. But it now exposes a bug in Wine's RedrawWindow() implementation. Under win2k RedrawWindow(RDW_FRAME | RDW_INVALIDATE) causes a window to receive only WM_NCPAINT, while under Wine it redraws the whole window.