Your example is almost perfect for my aplication, and I understand how the level catching works...
But I still have one issue(for the time being...)...
I have 1 Tree Object (tree) and 2 Node Objects(Parent and Node in order to make sense of your example...)
The 3 level limitation works great...but what is I wish to limit it to just 2 levels?
I tryed to alter your example but I got nowere...
Here's my project as is...
need both controlsEx and FormLib dlls...
My intension is:
Tree Root is the INI Filename (setted for now as Default.INI)
Key and Comment can exist in any alowed sub level...
ie:
+Default.INI
|--Key01
|--Comment01
+-Category01
XX|-Key02
XX|-Comment02
BUT Category can only be one level deep..
ie:
+Default.INI
|--Key01
|--Comment01
+-Category01
XX|-Key02
XX|-Comment02
XX|-Category02 - Cannot exist
PS:
Hopefully this will become a structured INI file creator, wich I believe will help those of us who relly on them for some settings...setting
__________________
Paulo Gomes
Porto, Portugal
PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
DLL Version Listing
|