[3/4] user32/tests: WM_ERASEBKGND should be sent before WM_PAINT processing. (try 2)

Alexey Slepov sir-lexa at yandex.ru
Sat Jun 2 17:05:26 CDT 2012


The problem is that WM_ERASEBKGND is sent after WM_PAINT thus cleaning user callback function's drawing (without using BeginPaint-EndPaint).
This situation is described in bugs #2624 and #3637.
It seems WM_PAINT handling method, used in this test (GetDC-draw-ReleaseDC) is widely used and described in some books (I have one such).
Wine Bot says, that test succeeds on all Windows platforms and fails on Wine. So I marked it todo.

Some cosmetic changes in test comparing to previous try.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-3-4-user32-tests-WM_ERASEBKGND-should-be-sent-before-W.txt
Type: text/x-c
Size: 2229 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120603/065106ba/attachment.bin>


More information about the wine-patches mailing list