This event occurs when an item in a Tree View control has expanded or collapsed. The ID of the parent item is in EVENT-DATA-2. One of the following two flags is in EVENT-DATA-1:
TVFLAG EXPAND | Item expanded to show children |
TVFLAG COLLAPSE | Item collapsed to hide children |