bool wb_get_state (int wbobject, int item)
Retrieves an integer representing the current state of a control item.
This function currently returns the expanded or collapsed state of a treeview node indicated by item. It returns TRUE if the node is expanded and FALSE if it is collapsed.