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 » TabCtrl » TabCtrl crash in debug mode when using remove method
Re: TabCtrl crash in debug mode when using remove method [message #23506 is a reply to message #23504] Sat, 24 October 2009 20:55 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi Mirek,

Thanks for your reply.

Quote:

It leaves memory leaks. In real code, I think for dynamic tabs, you would want to use Array to store tabs. Remember, avoid 'new' and 'delete' whenever possible...

The code presented in the test case was only to demonstrate the problem and is "no good" for anything else Razz
In my real app all the delete stuff is managed and absolutely necessary.

Quote:

Also, setting frame for StatusBar breaks the visuals for bottom right resizing handle.

I have to admit that this one has been tickling me for a bunch of time. But since it wasn't really critical I never really took time to solve it. I guess you saved me time, thanks Smile

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TabCtrl FIX
Next Topic: Disappearing tabs in TabCtrl
Goto Forum:
  


Current Time: Mon May 13 19:31:36 CEST 2024

Total time taken to generate the page: 0.01657 seconds