Re: listbox repainting anomoly with XP

Tech-Archive recommends: Fix windows errors by optimizing your registry



Guess Fritz lost interest then.

Steve

"Steve Barnett" <noname@xxxxxxxxxxxx> wrote in message
news:eQxRWYZcFHA.3712@xxxxxxxxxxxxxxxxxxxxxxx
> You can work round the problem by adding:
>
> Call ShowScrollBar(List1.hWnd, 3, False)
> Call ShowScrollBar(List1.hWnd, 3, True)
>
> to the "paint" event of the form - it does flash a little though (guess it
> depends on the size of your list and how much the flashing bothers you).
> No doubts you could put a hook in to windows and trap the windows paint
> event, calculate whether the bottom corner of your list box needs
> repainting and only refresh if it does (or maybe sub-class just the
> listbox).
>
> That's beyond me though.
>
> Steve
>
> "Steve Barnett" <noname@xxxxxxxxxxxx> wrote in message
> news:uG0bMSZcFHA.2340@xxxxxxxxxxxxxxxxxxxxxxx
>> Nah, we're all too busy to read this stuff.
>>
>> Steve
>>
>> (By the way, yes it happens to my XP too)
>>
>> "Fritz" <Fritz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:76DCD672-A7AE-4583-ABE9-1E7B18B4C1F9@xxxxxxxxxxxxxxxx
>>> Does anyone read this stuff?
>>
>>
>
>


.



Relevant Pages

  • Re: listbox repainting anomoly with XP
    ... You can work round the problem by adding: ... doubts you could put a hook in to windows and trap the windows paint event, ... only refresh if it does (or maybe sub-class just the listbox). ... Steve ...
    (microsoft.public.vb.bugs)
  • Exit Animation Powerpoint 2000
    ... ever been overcome, or is there a work round? ... TIA ... Steve ...
    (microsoft.public.powerpoint)