Re: Panel drawing problem
- From: "jon morgan" <jonrmorgan@xxxxxxxxxxxx>
- Date: Mon, 6 Jun 2005 15:18:40 +0100
Hello again Stoitcho,
No need - I solved the problem which was caused by some sloppy event
handling in the dataset. But thanks anyway.
Regards
Jon
"Stoitcho Goutsev (100) [C# MVP]" <100@xxxxxxx> wrote in message
news:%23QeE2opaFHA.2420@xxxxxxxxxxxxxxxxxxxxxxx
> Can you post a compilable sample that demostrates the problem?
>
>
> --
> Stoitcho Goutsev (100) [C# MVP]
>
> "jon morgan" <jonrmorgan@xxxxxxxxxxxx> wrote in message
> news:e7VHlXNaFHA.3876@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi,
>>
>> I have a number of panels on a form into which I draw graphs directly.
>>
>> When one of the panels is updated I can see from Spy that WM_PAINT and
>> WM_ERASEBACKGRD messages are sent to some, but not all, of the other
>> visible panels. There seems to be no way of predicting which panels get
>> invalidated in this way and it causes unnecessary flicker.
>>
>> How do I ensure only the panel that is updated gets re-painted ?
>>
>> BTW all drawing is done using double buffering, all panels intercept and
>> cancel the background paint message, and I have alternatively tried using
>> SetStyles to no effect.
>>
>> Thanks for any help
>>
>>
>> Jon
>>
>
>
.
- References:
- Panel drawing problem
- From: jon morgan
- Panel drawing problem
- Prev by Date: SmartClient + WindowsForms library
- Next by Date: RE: Adobe CS-suite-like splashwindow
- Previous by thread: Panel drawing problem
- Next by thread: Databinding custom properties
- Index(es):
Relevant Pages
|