Re: listbox repainting anomoly with XP
- From: "Steve Barnett" <noname@xxxxxxxxxxxx>
- Date: Thu, 16 Jun 2005 11:36:32 +0100
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?
>>
>>
>
>
.
- References:
- listbox repainting anomoly with XP
- From: Fritz
- RE: listbox repainting anomoly with XP
- From: Fritz
- Re: listbox repainting anomoly with XP
- From: Steve Barnett
- Re: listbox repainting anomoly with XP
- From: Steve Barnett
- listbox repainting anomoly with XP
- Prev by Date: Re: CreateProcess Fails With No Error
- Next by Date: Re: VB6 generates faulty exe code: UDT passed from VB6 to DLL
- Previous by thread: Re: listbox repainting anomoly with XP
- Next by thread: How to export a UDT from a Class
- Index(es):
Relevant Pages
|