Click or drag to resize

DragEvent Properties

X#

The DragEvent type exposes the following members.

Properties
  NameDescription
Public propertyControl
A control object returning the control whenever a drop-and-drag event has occurred inside a control with WS_EX_ACCEPTFILES set. If WS_EX_ACCEPTFILES is TRUE, the control accepts files and triggers a call to its parent Drop() method.
Public propertyFileCount
A numeric value representing the number of files in the drag-and-drop load that generated this drag event.
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyOrigin
A point representing the location of the mouse in canvas coordinates at the time this drag event was generated.
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
See Also