Need help with Modal form vs Parent form

  • Thread starter Thread starter Isabelle
  • Start date Start date
I

Isabelle

Hi all

I have posted my question in two other newsgroups but was left without
an answer or even a hint...

My application has a splash screen (a modal form) that kicks out a
wizard-like window (another modal form).

For the sake of my example, let's say that I have MS Outlook up on my
machine. I have also my application starting up.

My wizard is the form with the focus.

Let's say I go to my MS Outlook to do some email, and then I click
directly on the wizard's item in my Windows TaskBar
(I have ShowTaskBar = true for this case), I will have Outlook between
my app and my wizard.

Is there a way to "glue" my app and its wizard (a modal form) together
so they can't be separated by any other application running on my box?


Thanks in advance for the help, much appreciated


Isabelle
 
Isabelle said:
Hi all

I have posted my question in two other newsgroups but was left without
an answer or even a hint...

My application has a splash screen (a modal form) that kicks out a
wizard-like window (another modal form).

For the sake of my example, let's say that I have MS Outlook up on my
machine. I have also my application starting up.

My wizard is the form with the focus.

Let's say I go to my MS Outlook to do some email, and then I click
directly on the wizard's item in my Windows TaskBar
(I have ShowTaskBar = true for this case), I will have Outlook between
my app and my wizard.

Is there a way to "glue" my app and its wizard (a modal form) together
so they can't be separated by any other application running on my box?


Thanks in advance for the help, much appreciated


Isabelle
Instead of making the wizard modal, you can open it regular, but owned
by the other form.

Tom
 
Isabelle,

There are AFAIK and understand you a lot of methods, however have you
thought about the idea of using two docked panels, which overlays each other
(if one is hided the other is showed), in my opinion will you get a much
nicer effect with that.

Just my thought,

Cor
 
Thanks for the help! That fixed it.

I was launching my modal splash screen with
frmSplashScreen.ShowDialog(frmMain)
but when I was launching my frmWizard, I was not setting the owner.
All I did was passing in the owner like this:
frmWizard.ShowDialog(me) and it did the job.

Thanks again!

Isabelle
 
Back
Top