28 Sep
2009
28 Sep
'09
10:39 a.m.
"Ilya Shpigor" <shpigor(a)etersoft.ru> wrote:
Yes, MSDN tells about 0. The -1 value is used for detecting the errors inside Wine and blocking the static controls redrawing. Then the 0 value is returned to application:
- STATIC_TryPaintFcn( hwnd, full_style ); + if (lResult != -1) + STATIC_TryPaintFcn( hwnd, full_style ); + else + lResult = 0;
Tests for checking STM_SETIMAGE and STM_SETICON messages processing had been sent above:
[TRY 3] user32/tests: Add tests for STM_SETIMAGE and STM_SETICON message processing
Is there a better way to block this redrawing?
First thing to do (as usual) is to add the test to show the drawing behaviour. -- Dmitry.