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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
Unicode and ANSI names |
TVN_BEGINDRAGW (Unicode) and TVN_BEGINDRAGA (ANSI) |