Sorry paul u misunderstood my question.My intention is not to restrict the user but to inform the user,i.e attract the user over my application.Moreover I didn't mean to make my application modal,reather just a dialog box.My problem is when a confirmation box appears behind any other application it is left un-noticed until all the current windows are minimized.for eg. my application is full of sockets,when a system in a LAN contacts another system and is waiting for a confirmation it is left behind.The one who requested has to wait until the latter notices and responds.
So its a legal view I suppose.
Please reply as soon as possible.
[This message has been edited by netharam ram (edited September 06, 2001).]