Modal main form? Desktop as parent?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to create a modal DialogBox\Form from a process that is not a .net
form. I can call .ShowDialog() but the form is not modal since I can't set a
parent. Is there a way to set the desktop as the parent? Thanks
 
Eric,

You cannot create system modal dialog - dialog that is modal against all
running applicaitons. I'm getting the idea that this is what you actually
want to do.
 
No, this is a feature of the opearing system. If such dialogs (they were
supported by the 16-bit versions of windows) are allowed it will compromise
the stability because one application can take over the whole system. The
same reason is why an application cannot intercept ALT+TAB key combination.
 
Interesting, thank you for the help!

Stoitcho Goutsev (100) said:
No, this is a feature of the opearing system. If such dialogs (they were
supported by the 16-bit versions of windows) are allowed it will compromise
the stability because one application can take over the whole system. The
same reason is why an application cannot intercept ALT+TAB key combination.
 
Back
Top