![]()  | 
 
Multiple ASSERT when closing MDIChild with floatin | 
 
    Post Reply  
   | 
  
| Author | |
   
   dbrulhart  
   
   Groupie  
   Joined: 19 October 2006 Location: Switzerland Status: Offline Points: 38  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Multiple ASSERT when closing MDIChild with floatinPosted: 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  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 10 August 2007 at 12:58am | 
 
| 
   
    Hello, Difficult to say without code. Try to modify our sample, reproduce same problem and send to support@codejock.com 
    | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
    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  |