Purpose
Callback method for drag & drop between a bBrowser and another control or window.
Class
Type
Method
Syntax
<oDragDropManager>:CellDragDrop(
<oClient>,
<iMode>,
<hDragOwner>,
<hDragData>
) Æ lSuccess
Arguments
<oClient> | The client that is affected by the drag & drop process. |
Data Type: | bDragDropClient |
<iMode> | The mode for the drag & drop process. The following modes are supported: |
Mode |
Description |
BCDM_DRAGENTER |
The mouse cursor is moved with pressed left mouse button into a registered client. |
BCDM_DRAGLEAVE |
The mouse cursor is moved with pressed left mouse button outside of a registered client. |
BCDM_DRAGOVER |
The mouse cursor stands with pressed left mouse button over a registered client. |
BCDM_DROP |
The pressed left mouse button was released and thereby the data dropped. |
Data Type: | DWord |
<hDragOwner> | The Window handle of the bBrowser (server) in which the drag & drop process was started. |
Data Type: | Ptr |
<hDragData> | Data to the drag & drop process. |
Data Type: | Ptr |
Return Value
lSuccess | A logical value that indicates whether the mode is supported from the client. |
TRUE | The client support the mode. |
FALSE | The client does not support the mode. |
Data Type: | Logic |
Description
bDragDropManager:CellDragDrop() is a callback method which is called during a drag & drop process. The method calls a method with the same name in the command owner of the client and passes on an object of class bCellDragEvent as an argument.
See Also
bDragDropManager:GetClientFromWindow()
bDragDropManager:RegisterClient()
Page url: http://www.YOURSERVER.com/index.html?bdragdropmanager_celldragdrop.htm