Navigation:  Classes > bDragDropManager >

bDragDropManager:CellDragDrop()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Callback method for drag & drop between a bBrowser and another control or window.

Class

bDragDropManager

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

lSuccessA logical value that indicates whether the mode is supported from the client.
TRUEThe client support the mode.
FALSEThe 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

bDragDropClient:CommandOwner

bDragDropManager:GetClientFromWindow()

bDragDropManager:RegisterClient()

 


Page url: http://www.YOURSERVER.com/index.html?bdragdropmanager_celldragdrop.htm