> // Separate folders from other nodes. > if ( tix.IsFolder & !tiy.IsFolder )
It may be a typo on your part, and it probably doesn't have any functional effect in this case, but you should use '&&' for logical AND in this kind of expression, rather than '&' for bitwise AND. John =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com