Crash with 9.81 |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
Posted: 10 July 2006 at 4:54am |
Hello,
SInce a year we have a functin Reset Pane Layout. On program start we define the default layout. this layout we save as default layout. Then we load the last layout. And we have a menu entry 'Reset Layout', with this we set the layaout to the default. In 9.60 it work correct. But since we have changed to 9.81, the app crash. Code from Save default layout. // Get default Pane Layout m_pDefaultLayout = GetDockingPaneManager()->CreateLayout(); GetDockingPaneManager()->GetLayout(m_pDefaultLayout); DWORD dwPaneCount = GetDockingPaneManager()->GetPaneList().GetCount(); // Load last PaneLayout m_pPaneLayout = GetDockingPaneManager()->CreateLayout(); if (m_pPaneLayout->Load(_T("PaneLayout"))) { // Es ist eine Pane dazugekommen, damit sie aktiviert wird, // darf sie nicht durch ein altes Layout gesperrt werden. if (dwPaneCount != m_pPaneLayout->GetPaneList().GetCount()) GetDockingPaneManager()->GetLayout(m_pPaneLayout); else GetDockingPaneManager()->SetLayout(m_pPaneLayout); } else GetDockingPaneManager()->GetLayout(m_pPaneLayout); greetings Jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Code looks ok, please show call stack of error.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Hang in Pane.exe sample from 9.81.
Pane.exe from V10.2.0 will work. But i don't find any entry in release_notes.htm. Reproduce hang. Remove Pane.exe settings from registry. Start pane.exe dbkclick text 'Pane 9'. Change Layout under 'Docking Pane' menu to run mode. Jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, agree, was problem with floating panes when layout changed.
Was fixed already.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
why not docu in release_notes.html ???
|
|
kram617
Newbie Joined: 24 February 2006 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
I am having this same SetLayout problem with v9.70 of Xtreme Tookit Pro.
Is there currently a workaround for this? It doesn't crash every time, so I would guess a certain chain of events needs to happen first to cause the issue. If I knew when a crash was going to happen, it would seem this could somehow be preventable.
Upgrading isn't an option at this time.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Problem only apper when floating windows exist. as workaround you can close all panes and then set new layout.
|
|
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 |