Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Multiple ASSERT when closing MDIChild with floatin
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multiple ASSERT when closing MDIChild with floatin

 Post Reply Post Reply
Author
Message
dbrulhart View Drop Down
Groupie
Groupie


Joined: 19 October 2006
Location: Switzerland
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote dbrulhart Quote  Post ReplyReply Direct Link To This Post Topic: Multiple ASSERT when closing MDIChild with floatin
    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
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.184 seconds.