المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Destroying ModalDialog



C++ Programming
05-05-2011, 08:00 AM
I'm opening a Modal Dialog inside a Modal Dialog. While destroying the second Dialog, application crashes at the following assert condition:

ASSERT(::IsWindow(m_hWnd))
in the file afxwin2.inl.

How to destroy a Modal Dialog which is popped up inside another modal Dialog?