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 » FIX - Single Click does not open/close items
Re: FIX - Single Click does not open/close items [message #13500 is a reply to message #13464] Fri, 11 January 2008 10:54 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Nice one.

And you are correct, there was no check for withopen/canopen. I've attached a copy of TreeCtrl.cpp (modified from SVN revision 89) that includes both fixes.

My changes:
TreeCtrl::Clear() - Root node now has canopen = true by default.
TreeCtrl::Open() - Check for canopen added. Nodes can still be closed even with canopen = false.
  • Attachment: TreeCtrl.cpp
    (Size: 29.96KB, Downloaded 634 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to turn of tool-tips please?
Next Topic: A [TreeCtrl] bug
Goto Forum:
  


Current Time: Sun May 12 10:06:19 CEST 2024

Total time taken to generate the page: 0.03491 seconds