The NM_TREEVIEW structure contains information about a tree view notification message.
typedef struct _NM_TREEVIEW { nmtv
NMHDR hdr;
UINT action;
TV_ITEM itemOld;
TV_ITEM itemNew;
POINT ptDrag;
} NM_TREEVIEW;
typedef NM_TREEVIEW FAR *LPNM_TREEVIEW;
Members
hdr
Specifies an NMHDR structure. The code member of the NMHDR structure can one of the following notification codes that identify the message being sent: TVN_BEGINDRAG, TVN_BEGINRDRAG, TVN_DELETEITEM, TVN_ITEMEXPANDED, TVN_ITEMEXPANDING, TVN_SELCHANGED, TVN_SELCHANGING.
action
Specifies a notification-specific action flag.
itemOld
Specifies a TV_ITEM structure that contains information about the old item state. This member is zero for notification messages that do not use it.
itemNew
Specifies a TV_ITEM structure that contains information about the new item state. This member is zero for notification messages that do not use it.
ptDrag
Specifies a POINT structure that contains the client coordinates of the mouse at the time the event occurred that caused the notification message to be sent.
Remarks
The address of this structure is specified as the lParam parameter of the WM_NOTIFY message for several tree-view notification messages.
See Also
POINT, TV_ITEM, TVN_BEGINDRAG, TVN_BEGINRDRAG, TVN_DELETEITEM, TVN_ITEMEXPANDED, TVN_ITEMEXPANDING, TVN_SELCHANGED, TVN_SELCHANGING, WM_NOTIFY