Table 3. Tree View Item States Item State Meaning TVIS_CUT The item is marked. TVIS_DISABLED The item is disabled and is drawn using the standard disabled style and color. TVIS_DROPHILITED The item is highlighted as a drag-and-drop target. TVIS_EXPANDED The item's list of child items is currently expanded. TVIS_EXPANDEDONCE The item's list of child items has been expanded at least once. TVIS_FOCUSED The item has the focus and is drawn with the standard focus rectangle. TVIS_OVERLAYMASK An overlay image is used as a mask with the item image. TVIS_SELECTED The item is selected. TVIS_USERMASK A user-defined mask is set. If you set the image to be a state image list, this mask will specify the indexes into the state image list and draw another image next to the normal item image. For example, you can use this state to put a check mark next to a tree view item image. At any given time, the parent it