Jump to content
Tuts 4 You

Saving Treeview / node.data and records


StreamLine

Recommended Posts

StreamLine
Posted

hey gang, hope everyone is well :P

I am developing an application management program (see screenshot below)

10341211.png

The problem I am having is to do with saving the settings or Treeview. I have googled and seen an example on about.com saving in the xml format but my xml knowledge is nil,

The goal is to beable to save the treenode to a single file along with the images. however (the big problem) i have assigned records to each node using the node.data (pointer to a record) in which contains unique information based on each node.

  type
PAppItem = ^TAppItem;
TAppItem = Record
sFileName :String;
sFilePath :String;
sCategory :TTreeNode;
cmdShow :Integer;
end;

category nodes do not have this record assigned to it but application nodes do. Is it possible to save all this data?

  • 2 weeks later...
Posted

wh about @:

http://www.codeproject.com/KB/cpp/TreeView_Serializer.aspx?display=Print

??

hf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...