Compartir a través de


Tree View Controls Notifications (Compact 2013)

3/28/2014

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

Reference

Tree View Controls Reference