Technically, that won't really help solve the problems as stated, as you are only setting the form to be application modal rather than system modal.
Having said that, it is probably about as good as you'll get since MS removed the functionality of the old SetSystemModalWindow in the Win32 API (mainly because system modal windows contradict the concept of multitasking)
And this is the important point. I've not said it is impossible, merely alluded to the fact that it is difficult because you have to program against what the operating system is trying to enforce.
This thread (though it doesn't solve the problem) has an idea in it on how to always have your form displayed using SetWindowPos, but your form will not always have focus. Strangely, it also contains a link to this very thread...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.