Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.63 KB

tree-control-notification-messages.md

File metadata and controls

30 lines (26 loc) · 1.63 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Tree Control Notification Messages
Tree Control Notification Messages
11/04/2016
notifications [MFC], tree controls
messages [MFC], notification
CTreeCtrl class [MFC], notifications
notifications [MFC], CTreeCtrl
tree controls [MFC], notification messages
ac7013b4-91dd-4668-bd75-439ca0680ef9

Tree Control Notification Messages

A tree control (CTreeCtrl) sends the following notification messages as WM_NOTIFY messages:

Notification message Description
TVN_BEGINDRAG Signals the start of a drag-and-drop operation
TVN_BEGINLABELEDIT Signals the start of in-place label editing
TVN_BEGINRDRAG Signals the start of a drag-and-drop operation, using the right mouse button
TVN_DELETEITEM Signals the deletion of a specific item
TVN_ENDLABELEDIT Signals the end of label editing
TVN_GETDISPINFO Requests information that the tree control requires to display an item
TVN_ITEMEXPANDED Signals that a parent item's list of child items was expanded or collapsed
TVN_ITEMEXPANDING Signals that a parent item's list of child items is about to be expanded or collapsed
TVN_KEYDOWN Signals a keyboard event
TVN_SELCHANGED Signals that the selection has changed from one item to another
TVN_SELCHANGING Signals that the selection is about to be changed from one item to another
TVN_SETDISPINFO Notification to update the information maintained for an item

See also

Using CTreeCtrl
Controls