Print Page | Close Window

Multiple ASSERT when closing MDIChild with floatin

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=7767
Printed Date: 12 December 2024 at 2:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multiple ASSERT when closing MDIChild with floatin
Posted By: dbrulhart
Subject: Multiple ASSERT when closing MDIChild with floatin
Date Posted: 09 August 2007 at 9:18am
Hi all,
 
My app is based on the MDIPanes sample (multiple docs, each having its own Pane Manager).
 
When closing a document, if any of the panes is floating at that time, I get a series of assertion failed in CXTPMenuBar::GetActiveMDIChildWnd() (hWnd should be nNULL but isn't).
 
Call Stack is:
 
> ToolkitPro1113vc71UD.dll!CXTPMenuBar::GetActiveMdiChildWnd(int * bMaximized=0x00000000)  Line 385 + 0x31 C++
  ToolkitPro1113vc71UD.dll!CXTPMenuBar::SyncActiveMdiChild()  Line 414 + 0xa C++
  ToolkitPro1113vc71UD.dll!CXTPMenuBar::RefreshMenu()  Line 432 C++
  ToolkitPro1113vc71UD.dll!CXTPMenuBar::OnTimer(unsigned int nIDEvent=0x00002fbf)  Line 760 C++
 
Happens when the pane has its own CTPMenuBar or not... No problem if all panes docked.
 
Very annoying... anybody has an idea ?
 
Thanks
 
Dominique
 



Replies:
Posted By: Oleg
Date Posted: 10 August 2007 at 12:58am

Hello,

Difficult to say without code. Try to modify our sample, reproduce same problem and send to mailto:support@codejock.com - support@codejock.com


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



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