When an application opens two unrelated visible windows, and the main window invokes the Print dialog, the application may hang when terminating. This can occur under the following conditions:
1. An application opens two or more unrelated visible windows.
2. The main window invokes a Print dialog.
3. The main window does not destroy the other windows on receipt of WM_DESTROY.
4. The user attempts to exit the application by closing the main window.
1. An application opens two or more unrelated visible windows.
2. The main window invokes a Print dialog.
3. The main window does not destroy the other windows on receipt of WM_DESTROY.
4. The user attempts to exit the application by closing the main window.