NM_TREEVIEW  1HDHLNW 

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 NMHDR99J.0 structure. The code member of the NMHDR structure can one of the following notification codes that identify the message being sent: TVN_BEGINDRAG2MLKC5E, TVN_BEGINRDRAG1FN._21, TVN_DELETEITEM1_1G2QG, TVN_ITEMEXPANDED1AC8IWC, TVN_ITEMEXPANDINGL92XTR, TVN_SELCHANGEDLKSRZ6, TVN_SELCHANGING4Q4FGW.

action

Specifies a notification-specific action flag.

itemOld

Specifies a TV_ITEM2IHAQ35 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_ITEM2IHAQ35 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