On Sun, Sep 10, 2000 at 10:36:22AM -0600, gerard patel wrote:
> It seems that scrolling a listbox refreshes it automatically,
> such code works fine under Windows :
> 
> SendMessage(hList, WM_HSCROLL, MAKELONG(SB_PAGERIGHT,0),0);
> ValidateRect(hList, NULL);    
> 
> but with current Wine, the list is scrolled but not repainted correctly.
> 
> ChangeLog:
> 
>     * controls/listbox.c
>     Refreshes automatically a listbox after scrolling it horizontally.


> +    UpdateWindow( wnd->hwndSelf );

Hmm, are you sure this is what we want ?

AFAICS this forcibly refreshes the *whole* listbox.
Not that the current way of doing things in the listbox/listview code is
perfect (we have way too much flickering left), but...

Or am I wrong here ?

Andreas Mohr

Reply via email to