Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14267
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: Mon Aug 25 22:47:03 CEST 2025

Total time taken to generate the page: 0.06332 seconds