Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

Semi-modal dialogs?

My app uses modal dialog windows, but in some cases, I would like it if the modal dialog shows and allows for a designated other window to be clickable and usable, while other windows are unusable.

Does anyone have any ideas?

Thanks!
0
gregasm
Asked:
gregasm
1 Solution
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
One possibility...

Don't show things modally.

Just disable the forms you don't want to interact with:  FormXXX.Enabled = False

Leave the ones you want interaction with as is...
0
 
gregasmAuthor Commented:
That's a great suggestion. :)
0
 
gregasmAuthor Commented:
I was wondering if you might have any ideas regarding this question?

http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_21849090.html

Thanks...
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
anyoneisCommented:
If the modal dialog window is doing the showing of these other windows, it can just open them non-modally when it wants to.

David
0
 
gregasmAuthor Commented:
Thanks David,

But the modal dialog window is not doing the showing of those other windows.
0
 
Ravi SinghSenior Software EngineerCommented:
Are you possibly after something like this (example in C#):

      Form2 f2 = new Form2();
      f2.Owner = this;
      f2.Show();

It'll keep Form2 "on top" and you can also access the calling form (e.g. Form1)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now