Hey there,
I'm creating a database GUI using TreeView Controls and I was wondering if there is any way I can export the TreeView list, as a whole and stream it to a file.
Initially I was just going to create a class, with a corresponding node struct for each item but, I feel the process of double handling the information is a little inefficient.
I was looking at the TreeView Class in Windows Forms but, I don't know how to use Ref Classes.
I would be able to create the TreeView Control Dynamically and store the class instance to a file using the TreeView Class, couldn't I?
I'm a little bit unsure of what the best way to this is...
create item list in std:vector and use this structure to fill tree view. When saving to file, use only vector. Its common to access data and gui elements desperately.