[Last Call] Learn how to a build a cloud-first strategyRegister Now


How do I save a Treeview together with its StateIndex values used for check box immages in the tree

Posted on 2008-11-06
Medium Priority
Last Modified: 2013-11-23
My application had a TTreeViewcontaining Text only.  With this I simply used SaveToFile and LoadFromFile to save and retrieve the Tree.  I now added some checkboxes to the TreeView using  StateIndex to point to the associates immages for the checkboxes.  How can I save the TreeView now together with the StateIndex values as the SaveToFile and LoadFromFile methods only save the text and not the StateIndex values?
Question by:HenryM2
LVL 28

Accepted Solution

2266180 earned 2000 total points
ID: 22893104

Author Closing Comment

ID: 31513811
Thanks the solution from the link did the trick

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question