U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TreeCtrl » Bug crashing application in Upp2008.1
Re: Bug crashing application in Upp2008.1 [message #20728 is a reply to message #20727] Thu, 02 April 2009 09:39 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
qapko wrote on Thu, 02 April 2009 02:44

Hello,
In TreeCtrl.cpp of Upp2008.1 it seems to be bug that may crash application (by assertion in Vector) in some situations when closing the tree node. It looks like in code at line 418:

if(treesize != sb.GetTotal()) {
sb.SetTotal(treesize);
Refresh();
}
cursor = -1;

there should be:

cursor = -1;
if(treesize != sb.GetTotal()) {
sb.SetTotal(treesize);
Refresh();
}

I have looked at the newest night build and there the code seems to be changed slightly.

Have a nice day Smile
Gabi


Well, all I can suggest is to use and check the latest U++...

 
Read Message icon4.gif
Read Message
Read Message
Read Message
Previous Topic: PopUpTree related questions
Next Topic: bug with shift select
Goto Forum:
  


Current Time: Thu Sep 24 03:53:51 GMT+2 2026

Total time taken to generate the page: 0.00770 seconds