[media]
[/media]
As you can see, when the 2 child windows are closed, the parent window is placed below the Explorer window. Its not destroyed and is still there, and can be brought back to the foreground, but its still not something I want to happen. Another thing that's funny is that it doesn't happen with just a single child window (at least 2 were required, I didn't test 3 or more though), and it doesn't happen 100% of the time either (my guess would be around 75% of the time). To be honest I'm not really sure where to start looking for errors. I've seen nothing in the MSDN documents to explain it. I'm certain that I've done something stupid or forgotten something obvious, but at this point I'm pretty stumped.
Any thought, ideas, or questions would be appreciated.