Re: user32: Add check for the need to redraw static control afterSTM_SETIMAGE and STM_SETICON

2009-09-28 Thread Ilya Shpigor

> First thing to do (as usual) is to add the test to show the drawing
> behaviour.

Ok. I will make TRY 4 of tests.

-- 
Best regards,
Ilya Shpigor.




Re: user32: Add check for the need to redraw static control afterSTM_SETIMAGE and STM_SETICON

2009-09-28 Thread Dmitry Timoshkov

"Ilya Shpigor"  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.