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 » Changing tree control style
Re: Changing tree control style [message #29761 is a reply to message #29752] Mon, 15 November 2010 11:23 Go to previous message
gprentice is currently offline  gprentice
Messages: 260
Registered: November 2005
Location: New Zealand
Experienced Member
Thanks. I can't use a derived class because the Paint function needs access to the private data of the class to draw the tree. The logical thing is to add a style option and change TreeCtrl.cpp as was talked about in the other thread. If I can figure out how to do it, I'll try and persuade Mirek to accept the code into svn. Anyway, its easy enough to add a style choice without changing much code in the Paint function so there should be no risk to existing apps.

Graeme
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Anomaly in tree control
Next Topic: PROPOSAL: TreeCtrl optionally owns Ctrl's in Node
Goto Forum:
  


Current Time: Sat Jul 19 11:24:09 CEST 2025

Total time taken to generate the page: 0.00726 seconds