I am currently writing a program that has an MDI interface. I then created a properties window using CreateWindowsEx() and it's own windows procedure to store information about the way the program saves information. The problem is that I do not what the main window to continue running, instead wait for the properties window to close. I would have used a dialog for this, except I needed to use tabs and couldn't figure out how without the initcommoncontrols. Anyway is there any way to make the main window wait unitl the properties window closes?