I have an application that should always be the only application runnung on the PC. Because part of this application is a Web Browser there is the possibility that Windows such as Open/Save As be opened. In that case I want to detect them and close them. Is there a way to do that other than going through all the opened windows every second ? Is there a Windows message that can be captured ?