I wrote an applacation that used EnumWindows to find and check every window to see if "Microsoft Internet Explorer" was in its title. It then used SendMessage with WM_DESTROY to close the Microsoft Internet Explorer Window.
It seems to target the windows okay but instead of just closing the window it closes the internet content of the window. This left the menus, frame, and rest of the program non-responsive. You then needed to CRTL-ALT-DELete the window to get it to go away. Does anyone have an idea of why the windows do not close correctly?
Thank You in advance and for even glancing at my problem!
Here is a screen shot.