473,386 Members | 1,962 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Need help with Modal form vs Parent form

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

Dec 19 '05 #1
3 1227
Isabelle wrote:
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
Dec 19 '05 #2
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
Dec 20 '05 #3
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

Dec 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Lee | last post by:
I am using a modal window and an iFrame to try and pull a return value back. I am doing this across domains. I have the value returned from the modal window to the iFrame window but I can not...
1
by: stellabein | last post by:
Hi friends, I am very very new to programing. i have a one main window from that window i am opening one modal window using showmodaldialog(m.jp...). in that modal window i have a form. when i...
4
by: kids_pro | last post by:
Hi there, I want to create a Modal dialog from. Normally in vb it won't allow to click the parent form. But I tried that in C# using form.ShowDialog(this); I still can click on the mainForm...
4
by: Paul Aspinall | last post by:
Can anyone advise how to display a form on top, and modal, without using ShowDialog?? Thanks
5
by: CaptainZ | last post by:
When I open a modal window using 'showModalDialog' from an aspx page it works fine. But when I then perform a submit in my modal window to get data from the server, instead of the page returning to...
2
by: Mark Rae | last post by:
Hi, I'm opening an ASP.NET page using the JavaScript window.showModalDialog method. This page has a submission button on it which, when clicked, opens a new window, which is pretty much as...
3
by: Chris | last post by:
Hi, I have a parent page that loads a popup and when the OK button is press it pass the value back to the parent form textbox. It passes the value but it doesn't close the popup but also open...
9
by: Chris | last post by:
I pop up a Modal form on a web page that allows the user to update the selections of a dropdownlist via adding a new item to the db (Sql Server).The only thing is this list is on the page beneath...
10
by: =?Utf-8?B?Tm90cmUgUG91YmVsbGU=?= | last post by:
Hello, I have a legacy MFC application that has a lot of editor functionality associated with a class that extends CFrameWnd. This editor watches for key down events by using the OnKeyDown...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.