TVN_BEGINDRAGTVN_BEGINDRAG*
*Contents  *Index  *Topic Contents
*Previous Topic: NM_SETFOCUS (tree view)
*Next Topic: TVN_BEGINLABELEDIT

TVN_BEGINDRAG


TVN_BEGINDRAG 
    pnmtv = (LPNMTREEVIEW) lParam 

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

pnmtv
Address of 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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.