Search
FlowChart.DragOverBoxVB Event
See Also
 



Raised when some data is dragged over a box and the drag-and-drop mode is set to drProgrControlVB.

 Syntax

VB6  Copy Code

Public Event DragOverBoxVB

 Event Data

Parameter

Type

Description

box

[input] reference to a Box

The box under the mouse cursor.

dataObj

[input] IVBDataObject interface pointer

A pointer to OLE drag-and-drop object.

docX

[input] long

The x document coordinate.

docY

[input] long

The y document coordinate.

keyState

[input] long

A state of keyboard modifier keys.

effect

[input, output] long

The effect of the drag-and-drop.

Dispatch ID: 53

 Remarks

Raised when some data is dragged over a box and the drag-and-drop mode is set to drProgrControlVB. dataObj is a pointer to an object implementing IVBDataObject interface through which the dragged data can be extracted. This object may contain data in several different formats; it can be queried for data in the format that is most appropriate for your application. docX and docY are the coordinates of the mouse cursor given in document coordinates. The keyState bit-mask is a combination of the following values: 0x20 (ALT), 0x04 (SHIFT), 0x08 (CTRL). The effect parameter is a combination of the allowed drop effects, and as output you can set it to the desired effect. Its possible values are: 0=none, 1=copy, 2=move, 4=link.

 See Also