Hi! I'm writing an application where I have a settings dialog with a list box and a property sheet (so I can't just run DoModal on the property sheet). So, I've made a placeholder in my settings dialog and create the property sheet on top of the placeholder (exactly like the sample code in the CPropertySheet section on CodeGuru). My problem is this: when I from my settings dialog (which is modal) try to open another modal dialog (i.e. a MessageBox), the entire application hangs. I've made a really ugly workaround at the moment, so I can keep working. When I open the second modal dialog, I first delete the property sheet, and then I recreate it when the dialog returns. Obviously, this isn't a solution I can live with.

Has anyone else had this problem? What do I do? Suggestions?

Thanx

/ Mats K