Always repaint scroll bar if requested.

This commit is contained in:
Dmitry Timoshkov 2003-11-04 04:21:15 +00:00 committed by Alexandre Julliard
parent 3baa9b99fd
commit f962a792ec
1 changed files with 1 additions and 1 deletions

View File

@ -1543,7 +1543,7 @@ BOOL bRedraw /* [in] Should scrollbar be redrawn afterwards ? */)
if( SCROLL_ShowScrollBar( hwnd, nBar, TRUE, TRUE ) )
return retVal; /* SetWindowPos() already did the painting */
if( bRedraw && (action & SA_SSI_REFRESH))
if( bRedraw )
SCROLL_RefreshScrollBar( hwnd, nBar, TRUE, TRUE );
else if( action & SA_SSI_REPAINT_ARROWS )
SCROLL_RefreshScrollBar( hwnd, nBar, TRUE, FALSE );