Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsDragSourceMBS class.

WindowsDragSourceMBS.DRAGDROP_S_CANCEL = &H00040101

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the OLE error codes.

Drag and Drop was cancelled.

WindowsDragSourceMBS.DRAGDROP_S_DROP = &h00040100

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the OLE error codes.

Do the drop operation.

WindowsDragSourceMBS.DRAGDROP_S_USEDEFAULTCURSORS = &h00040102

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the OLE error codes.

WindowsDragSourceMBS.DROPEFFECT_COPY = 1

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the drop effect constants.

Drop results in a copy. The original data is untouched by the drag source.

Your application should always mask drop effect constants to ensure compatibility with future implementations. Presently, only some of the bit positions in a drop effect value have meaning. In the future, more interpretations for the bits will be added. Drag sources and drop targets should carefully mask these values appropriately before comparing. They should never compare a drop effect value against, say, DROPEFFECT_COPY by doing the following:

if DropEffect = DROPEFFECT_COPY then

Instead, the application should always mask for the value or values being sought as using one of the following techniques:

if bitwiseAnd(DropEffect, DROPEFFECT_COPY) = DROPEFFECT_COPY then

This allows for the definition of new drop effects, while preserving backwards compatibility with existing code.

WindowsDragSourceMBS.DROPEFFECT_LINK = 4

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the drop effect constants.

Drag source should create a link to the original data.

WindowsDragSourceMBS.DROPEFFECT_MOVE = 2

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the drop effect constants.

Drag source should remove the data.

WindowsDragSourceMBS.DROPEFFECT_NONE = 0

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the drop effect constants.

Drop target cannot accept the data.

WindowsDragSourceMBS.DROPEFFECT_SCROLL = &h80000000

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the drop effect constants.

Scrolling is about to start or is currently occurring in the target. This value is used in addition to the other values.

WindowsDragSourceMBS.MK_CONTROL = 8

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the key state constants.

The CTRL key is down.

WindowsDragSourceMBS.MK_LBUTTON = 1

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the key state constants.

The left mouse button is down.

WindowsDragSourceMBS.MK_MBUTTON = &h10

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the key state constants.

The middle mouse button is down.

WindowsDragSourceMBS.MK_RBUTTON = 2

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the key state constants.

The right mouse button is down.

WindowsDragSourceMBS.MK_SHIFT = 4

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the key state constants.

The SHIFT key is down.

WindowsDragSourceMBS.MK_XBUTTON1 = &h20

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the key state constants.

The first X button is down.

WindowsDragSourceMBS.MK_XBUTTON2 = &h40

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the key state constants.

The second X button is down.

WindowsDragSourceMBS.S_FALSE = 1

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the OLE error codes.

WindowsDragSourceMBS.S_OK = 0

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 10.5
One of the OLE error codes.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...