Hi,
I've not tried it, but the splash screen is really just a Wx::Frame with the wxSTAY_ON_TOP style set.
So, if you use the 'full' constructor and simply don't specify wxSTAY_ON_TOP, that should work.
You can load the Login dialog (giving IT a wxSTAY_ON_TOP style) and Destroy the splash frame when you are done.
my $splash = Wx::SplashScreen->new(
$bitmap ,
wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_NO_TIMEOUT,
0,
undef,
-1,
wxDefaultPosition,
wxDefaultSize,
wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR );
Regards
Mark
Vaughn Staples wrote:
> Mark,
>
> Is there a way for wxSplashScreen to allow a dialog to superimpose over
> the displayed image?
>
> I would like to pop up company logo as a background, for example, that
> encompasses most of the display while displaying a login dialog in the
> center of the screen.
>
> The intent is once the dialog is closed, both the dialog & displayed
> image will disappear to the system to continue w/ other behaviors.
>
> At the present time I can only display the "splashscreen" over the top
> of the form ... which is the opposite of the effect I am seeking.
>
> Regards,
>
> Vaughn
>
|