Modal main form? Desktop as parent?

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
 
S

Stoitcho Goutsev \(100\)

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.
 
S

Stoitcho Goutsev \(100\)

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top