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 » U++ Widgets - General questions or Mixed problems » TreeCtrl - How to expand all?
TreeCtrl - How to expand all? [message #50892] Sat, 12 January 2019 18:57 Go to next message
alexe100 is currently offline  alexe100
Messages: 3
Registered: January 2019
Location: PT
Junior Member
Hi!

I have a TreeCtrl filled with parent and leaf nodes. I would like to see it completely expanded when app starts.
How to do that?

Thank you

Alex
Re: TreeCtrl - How to expand all? [message #50899 is a reply to message #50892] Sun, 13 January 2019 09:43 Go to previous message
deep is currently offline  deep
Messages: 194
Registered: July 2011
Location: Bangalore
Experienced Member
Hi

Check in Help for TreeCtrl

you can use
void OpenDeep(int id, bool open = true)
Opens/closes item with id and all of its child items.

Call it after you finish adding Tree nodes


Warm Regards

Deepak

[Updated on: Sun, 13 January 2019 09:44]

Report message to a moderator

Previous Topic: ScatterCtrl: How to control X axis ticks and tags automatically?
Next Topic: DHCTRL not refreshed
Goto Forum:
  


Current Time: Thu Apr 25 17:48:15 CEST 2019

Total time taken to generate the page: 0.01036 seconds