CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    23

    Saving data from a CTreeCtrl to XML

    Hi,

    I started programming in VC++ about a month ago, and have gotten great help here.

    I could use some help with this : I have a ctreectrl, where each root item and each child item have a set of attributes(apart from the ItemName). I am trying to figure out a way to save the state to disk when the application terminates.

    I also need to keep track of the data in the tree ar runtime, i am goingt to try and use separate vectors for parent and child items in the tree for that. Each child item's data would include a field for parent name, so they'll all be interconnected.

    Its the saving to the disk and then initializing from disk part that i could use some help with. I've been asked to use XML for this.

    Any links to tutorials or samples would be great.

    Thanks

  2. #2
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Saving data from a CTreeCtrl to XML

    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured