bool wb_set_state (int wbobject, int item, int state)
Sets the state of a control item (a treeview node). Returns
TRUE on success or FALSE if an error occurs.
This function can currently set the expanded or collapsed state of the treeview node indicated by item. Set state to TRUE to expand the node or FALSE to collapse it.