Collapse Event

This document covers the following topics:


Applies To

Tree View Control.

Description

If not suppressed, this event is received by a tree view control when the user attempts to collaps a tree view item to hide its child items (if any).

The program can query the control's ITEM attribute to determine which tree view item is being collapsed. Before this event is raised, this item's EXPANDED attribute will have already been set to FALSE. However, if the program sets this attribute to TRUE within this event, the collapse does not occur.

For more information, please refer to the article Working with Tree View Controls.