>I got that. However how can I reach my goal?
>
Vali,
I hate to be the bearer of bad news, but in two words, "you can't". This is because of a couple of things. First, the internal design of all Win32 OSes is pre-emptive multi-tasking. While you can "trick" the Win9x/ME family of operating systems, you can't do that with NT/2K/XP. This, and this is the second reason, because the NT family of operating systems was designed to be far more robust in its fault tolerances. Due to this, and in conjunction with NT's "protected mode", it does not allow any program to "trick" the system. This helps enforce the idea that one mis-behaving program shouldn't be allow to bring the system down.
While I'd like to help you out, you must remember in your designs that it is the user's computer, not the application's. While you may have good and sound reasons for wanting to do this, but, short of writing a new shell, you can't. In this sort of scenario, you must find other ways to accomplish your goal. From your prespective, it would probably be nice to be able to write a system level modal form, but, unfortunately, Win32 (all flavors) doesn't allow for that either.
Sorry,
George
Ubi caritas et amor, deus ibi est