GetCollapsed
Gets the collapsed state of the branches from top to bottom in the control
int GetCollapsed( vector<byte> & vn, bool bOnlyTopLevelIsBranch = true, bool bIncludeChildren = false )
returns the number of branches.
Control.h