Phil
Tue Jul 13 19:20:30 CDT 2004
Ahh - I think you're pointing me in the direction I want to go. There's no
real reason for the picture box, other than it renders PNG's with complex
alpha filters (for layering). If I can achieve the same results - only
without flashing, then I'm well interested in overriding the Draw method.
I don't know anything about this - so I'll have to go and study (any
suggestions on a good place to start?). Also, if I have to controls (A and
B) I'm interested in a way to draw parts of A onto a portion of B - so I can
overlay controls a little. Is that possible within the custom Draw world?
Many thanks - this is getting really intesesting!!!
===
Phil
(Auckland | Aotearoa)
"Mick Doherty"
<EXCHANGE#WITH@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:uuYkQ5LaEHA.2812@TK2MSFTNGP11.phx.gbl...
> Do you need the Picturebox controls? You'd get better results by painting
> directly onto the control.
> Maybe you should consider creating a Component which has Draw and HitTest
> Methods so that you can place that on your Control in place of the
> PictureBox.
>
> --
> Mick Doherty
>
http://dotnetrix.co.uk/nothing.html
>
>
> "Phil Jones" <phil_newsgroup@hotmail.com> wrote in message
> news:uo$nMYKaEHA.2892@TK2MSFTNGP10.phx.gbl...
> > I've just tried that and it doesn't seem to make a difference (at least
> not
> > one I can notice).
> >
> > The problem is like, I have a control that contains [PictureBox]
controls,
> > layered over background colors, when the control is revealed (via
Visible
> =
> > True) the picture boxes will flash white (the default background color)
> > quickly before the image is revealed.
> >
> > Does that code usually sort this kind of issue? I've applied it to each
> > control and the form that it's contained within. Should I be putting it
> > anywhere else?
> >
> > Many thanks!
> >
> > ===
> > Phil
> > (Auckland | Aotearoa)
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (
http://www.grisoft.com).
> Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004
>
>