Re: Panel drawing problem

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



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
>>
>
>


.



Relevant Pages

  • Re: Weird dreams
    ... Take the panels off now to try and prevent it... ... Jon ... Still got the GSX-R then? ... Obviously made of sterner stuff than you when it comes to back ache ...
    (uk.rec.motorcycles)
  • Re: Tub Surrounds
    ... the panels will feel flimsy after installation. ... Jon ...
    (alt.home.repair)
  • RE: Problem with submiting the page
    ... Regards ... > I m dealing in a situation tht there are two panels in a page. ... Each of the text boxes ... > RequiredFieldValidators of the other panel get activated. ...
    (microsoft.public.dotnet.framework)
  • Re: FC3 Usability Problems
    ... It takes two minutes or three to adjust the panels to your liking. ... Regards ... Markus Huber ...
    (Fedora)
  • Re: Buttongroups
    ... method from the other ButtonGroup, ... Best regards, ... a collection of source code, ...
    (comp.lang.java.gui)