Yes, it's not working. I think because there is no CWnd object to be the parent of the MessageBox dialog. You can create your own messagebox to display the message after the DoModal. hope this will help.

Allen