Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the tree view controls notifications, with a description of the purpose of each.

Programming element Description

TVN_BEGINDRAG

This message notifies a tree view control's parent window that a drag-and-drop operation is being initiated.

TVN_BEGINLABELEDIT

This message notifies a tree view control's parent window about the start of label editing for an item.

TVN_DELETEITEM

This message notifies the parent window of a tree view control that an item has been deleted.

TVN_ENDLABELEDIT

This message notifies a tree view control's parent window about the end of label editing for an item.

TVN_GETDISPINFO

This message requests that a tree view control's parent window provide information needed to display or sort an item.

TVN_ITEMEXPANDED

This message notifies a tree view control's parent window that a parent item's list of child items has expanded or collapsed.

TVN_ITEMEXPANDING

This message notifies a tree view control's parent window that a parent item's list of child items is about to expand or collapse.

TVN_KEYDOWN

This message notifies a tree view control's parent window that the user pressed a key and the tree view control has the input focus.

TVN_SELCHANGED

This message notifies a tree view control's parent window that the selection has changed from one item to another.

TVN_SELCHANGING

This message notifies a tree view control's parent window that the selection is about to change from one item to another.

TVN_SETDISPINFO

This message notifies a tree view control's parent window that it must update the information it maintains about an item.

See Also