Objective Toolkit : Chapter 14 Tree Control & Tree View : Tree Control Notifications
Tree Control Notifications
The Objective Toolkit tree control supports a number of notifications messages sent in the form of a WM_NOTIFY message.
Table 38 – Tree Control Notifications 
Notification
Description
TVN_BEGINDRAG
Notifies a tree view control's parent window that a drag-and-drop operation involving the left mouse button is being initiated.
TVN_BEGINLABELEDIT
Notifies a tree view control's parent window about the start of label editing for an item.
TVN_ENDLABELEDIT
Notifies a tree view control's parent window about the end of label editing for an item.
TVN_ITEMEXPANDED
Notifies a tree view control's parent window that a parent item's list of child items has expanded or collapsed.
TVN_ITEMEXPANDING
Notifies a tree view control's parent window that a parent item's list of child items is about to expand or collapse.
TVN_SELCHANGED
Notifies a tree view control's parent window that the selection has changed from one item to another.
TVN_SELCHANGING
Notifies a tree view control's parent window that the selection is about to change from one item to another.
TVN_SETDISPINFO
Notifies a tree view control's parent window that it must update the information it maintains about an item.
TVN_GETDISPINFO
Requests that a tree view control's parent window provide information needed to display or sort an item.
TVN_KEYDOWN
Notifies a tree view control's parent window that the user pressed a key and the tree view control has the input focus.
TVN_DELETEITEM
Notifies a tree view control's parent window that an item is being deleted.
TVN_BEGINLABELEDIT
Notifies a tree view control's parent window about the start of label editing for an item.
LVN_BEGINLABELEDIT
Notifies a list view control's parent window about the start of label editing for an item.
LVN_DELETEITEM
Notifies a list view control's parent window that an item is about to be deleted.
LVN_ENDLABELEDIT
Notifies a list view control's parent window about the end of label editing for an item.
LVN_GETDISPINFO
Sent by a list view control to its parent window. It is a request for the parent window to provide information needed to display or sort a list view item.
LVN_INSERTITEM
Notifies a list view control's parent window that a new item was inserted.
LVN_KEYDOWN
Notifies a list view control's parent window that a key has been pressed.