Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TVN_BEGINDRAG

TVN_BEGINDRAG notification code

Notifies a tree-view control's parent window that a drag-and-drop operation involving the left mouse button is being initiated. This notification code is sent in the form of a WM_NOTIFY message.


TVN_BEGINDRAG 

    pnmtv = (LPNMTREEVIEW) lParam 

Parameters

lParam

Pointer to an NMTREEVIEW structure. The itemNew member is a TVITEM structure that contains valid information about the item being dragged in the hItem, state, and lParam members. The ptDrag member specifies the current screen coordinates of the mouse.

Return value

The return value is ignored.

Remarks

A tree-view control that has the TVS_DISABLEDRAGDROP style does not send this notification code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

TVN_BEGINDRAGW (Unicode) and TVN_BEGINDRAGA (ANSI)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft