M
Marco Trapanese
Hello,
I'm using VB.NET Express 2008 under Windows XP. My user-control is
composed of a label and a picture box.
On the main form I placed some of that controls. The background color of
the label, of the picture box and of the form itself is transparent.
It's very nice to see because the main form has a bitmap on the background.
The downside is the looong time needed to redraw the form content. I'm
talking about 1-2 seconds, too much for the project requirements.
If I either disable the transparent backgrounds or remove the background
image it works fine.
Please note that:
* the bitmap is actually a jpg picture with its dimensions equal to the
form, so no scaling is required;
* both forms have the double buffer property enabled
What should I do to have a decent redraw time using bitmap and
transparencies?
Thank you
Marco
I'm using VB.NET Express 2008 under Windows XP. My user-control is
composed of a label and a picture box.
On the main form I placed some of that controls. The background color of
the label, of the picture box and of the form itself is transparent.
It's very nice to see because the main form has a bitmap on the background.
The downside is the looong time needed to redraw the form content. I'm
talking about 1-2 seconds, too much for the project requirements.
If I either disable the transparent backgrounds or remove the background
image it works fine.
Please note that:
* the bitmap is actually a jpg picture with its dimensions equal to the
form, so no scaling is required;
* both forms have the double buffer property enabled
What should I do to have a decent redraw time using bitmap and
transparencies?
Thank you
Marco