Re: Eliminating flick
From: Dr Duck (the.duckman_at_gmail.com)
Date: 09/30/04
- Next message: Dr Duck: "Re: GDI+ drawstring and unicode chars"
- Previous message: Jeff Bennett: "Re: Multi-layer drawing"
- Messages sorted by: [ date ] [ thread ]
Date: 30 Sep 2004 09:46:25 -0700
Fair go mate, I did say "This would need to be done for each
controll.". (and so begins another flame war, lol)
Still Id amit this would bring only limited relif to the problem.
Anyways asside from speeding up the rate at which the parent controll
redraws itself, I think I can recall some _limited_ sucsess with
setting up a don't refresh parent option and manuly refreshing the
parent once the move was complete. Basicly just substituting one
aftifact for another and tring to pick the lesser or two evils.
It was shortly after this that I concluded transparent controls of
this nature were an expensive toy that broke easily and returned to
using more sensible interfaces.
-dm
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message news:<#903JLgpEHA.3980@TK2MSFTNGP12.phx.gbl>...
> Eliminating flicker with transparent controls is very difficult, possibly
> even impossible.
>
> Transparent controls can require the parent to paint its own surface before
> they paint their own so some amount of screen change is inevitable. Also
> setting the double buffering in the parent object will not affect the way
> that child objects draw themselves.
>
>
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Answer those GDI+ questions with the GDI+ FAQ
> http://www.bobpowell.net/gdiplus_faq.htm
>
> The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
> Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
> Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
>
>
>
>
>
>
> "Alejandro K." <AleK@AleK.com> wrote in message
> news:Xns956D8D64A8494AleKAleKcom@207.46.248.16...
> > i, i got a form with an image as background , and several transparent
> > controls on it, and i'm suffering of 2 big problems, the first one is that
> > the controls are flicking whenever the form is activated or whenever is
> > Bring to the front again. problem two is that same kind of flick when the
> > some control is moved... any idea or solution of what can it be done to
> > have a flick free application??
> >
> > Thanks.
> > Alex.
- Next message: Dr Duck: "Re: GDI+ drawstring and unicode chars"
- Previous message: Jeff Bennett: "Re: Multi-layer drawing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|