Print Page | Close Window

Who can tell me how to solve this problem

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=3315
Printed Date: 09 November 2025 at 1:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Who can tell me how to solve this problem
Posted By: qinzhw
Subject: Who can tell me how to solve this problem
Date Posted: 30 November 2005 at 10:51pm

http://forum.codejock.com/uploads/qinzhw/2005-11-30_225223_tvEx.rar - 2005-11-30_225223_tvEx.rar in this sample,when I click the "Mail" tab button, the application will be terminated, why? the codes were attached as follows.thanks.

2005-11-30_224703_tvEx.rar




Replies:
Posted By: Oleg
Date Posted: 01 December 2005 at 4:55am

hints for funture:

If you see assert,click ignore/repeat and check call stack.

 

The problem line is

pFrame->SetActiveView((CView*)pWnd->GetDescendantWindo w(AFX_IDW_PANE_FIRST));

because pWnd->GetDescendantWindow(AFX_IDW_PANE_FIRST) returns CSplitterWnd and not CView for your frame.

comment it.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: qinzhw
Date Posted: 01 December 2005 at 7:06am
Thank you very much , oleg !



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