Who can tell me how to solve this problem |
Post Reply |
Author | |
qinzhw
Newbie Joined: 25 November 2005 Location: Colombia Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 30 November 2005 at 10:51pm |
2005-11-30_225223_tvEx.rarin 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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
qinzhw
Newbie Joined: 25 November 2005 Location: Colombia Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Thank you very much , oleg !
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |