i have created a program that lets the user enter the partial name of a window to close it (mainly for closing microsoft internet explorer) but when i try to close microsoft internet explorer by sending a WM_DESTROY message to it only gets rid of the contents of microsoft internet explorer and leaves the rest of the window unresponsive. my program uses EnumWindows and tests to see if the name of the window includes microsoft internet explorer and if so sends a WM_DESTROY message.any ideas?