From: Robert May <rmay@po...> - 2005-11-17 19:42:46
Glenn W Munroe wrote:
> I used your Splashscreen module in my latest project. I noticed an ugly=
> little flash at times between when the splash window is created and whe=
> it is centred on the screen. The adaptation to the module example below=
> demonstrates it when you press the button. It=92s not a major problem b=
> it is a little more pronounced in my application. Adding the option=20
> =93=96visible =3D> 0=94 to the splash window creation stanza in the mod=
> to fix it.
Thanks for the feedback. I cheated with my module, using a label=20
control as a top level window; Win32::GUI tries to be clever, and makes=20
anything that it thinks should be a child window visible, so that you=20
don't need to individually show each of your controls. So it makes=20
labels visible by default ... so indeed your solution will do the trick.
In reality, next time I re-visit that module, I'll change it to use a=20
'proper' top level window (Win32::GUI::Graphic probably) and I'll draw
the bitmap into the DC myself.
I've made a note to ensure this gets fixed.