Print Page | Close Window

Bug using CDialog

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=177
Printed Date: 18 May 2024 at 1:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug using CDialog
Posted By: maverickshih
Subject: Bug using CDialog
Date Posted: 17 October 2003 at 3:06am

Hi,

I am developing a MDI app using CXTPMDIFrameWnd.

I added VERIFY(m_MTIClientWnd.Attach(this)); to have tab view on my opened document.

Before I load a open file, my app will open a CDialog to ask a question.

I have no problem of opening 1 st doc. But, when I open 2nd doc, an endless loop happened when I call DoModal().

Finally, I turn off VERIFY(m_MTIClientWnd.Attach(this)); Then solve the problem. But, O lost tab view of opened docs




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net