The tree node states are represented by the state member of TV_ITEM. By retrieving the TV_ITEM structure for any given item, you can test the state of that item. The following figures show an example tree control and an example tree view.
Figure 110 – Example Objective Toolkit Tree Control and Tree Item States
Figure 111 – Example Objective Toolkit Tree View and Tree Item States