다음을 통해 공유


NodeDragDrop Event

Topic Last Modified: 2006-06-11

The NodeDragDrop event occurs when a drag-and-drop operation is completed.

Syntax


            
    Sub control_NodeDragDrop(ByVal TNode As ExtreeView.TNode, ByVal X As Integer, ByVal Y As Integer)

Parameters

  • control
    The instance name of the Exchange Store TreeView control.
  • TNode
    A TNode object of the dragged node.
  • X
    The horizontal coordinate of the mouse pointer.
  • Y
    The vertical coordinate of the mouse pointer.

Remarks

The mouse pointer coordinates are expressed in the unit of measurement determined by the standard Microsoft® Visual Basic® ScaleMode property.

Example

The following example illustrates a node's display name upon dragging.


Private Sub EXTV1_NodeDragDrop(ByVal TNode As EXTreeView.TNode, ByVal x As Integer, ByVal y As Integer)
    MsgBox "You dragged " & TNode.DisplayName
End Sub