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 » Can't add/remove +/- sign [CanOpen()]
Re: Can't add/remove +/- sign [CanOpen()] [message #24281 is a reply to message #24259] Fri, 08 January 2010 17:32 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
        if (tree.GetChildCount(id) == 0)
        {
            TreeCtrl::Node node = tree.GetNode(id);
            node.CanOpen(false);
            tree.SetNode(id, node);
        }


(Does not return reference but value and needs to be set again).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Blinking tree when opening or closing nodes
Next Topic: OptionTree loses check state
Goto Forum:
  


Current Time: Thu Apr 25 15:45:00 CEST 2024

Total time taken to generate the page: 0.01889 seconds