The title may be misleading. I have floating and non floating windows that can be opened based upon choices made by the user while using the main active window, when this main window is closed by the user, any subsequent window that was opened by the user should close with it. How can I accomplish that?
Hi Alex, that was my first attempt but I must have done it totally wrong because the implicit instance windows actually opened at the time of close. if you have a method for doing this I would appreciate the effort.
I use the showmodal method to gather any information that may have been missed before allowing the user to continue to the next process in the app. once this modal has appeared, if the user closes the main window, the modal window remains, I need the modal to close with the main window.
currently, I’m blocking the possibility of closing the main window by use of Mutex but this is risky because I’m afraid I’ll end up with a hole in my code that allows the Mutex to remain causing more issues.