PtCancelDnd()

Cancel a drag-and-drop operation

Synopsis:

int PtCancelDnd( PhRid_t rid,
                 unsigned flags,
                 PhPoint_t const *pos,
                 unsigned ig,
                 unsigned long handle );

Arguments:

rid
The region ID.
flags
A combination of the following bits:
pos
The position where the drag started.
ig
The input group.
handle
A number that you can use to identify a transaction.

Library:

ph

Description:

PtCancelDnd() cancels a drag-and-drop operation.

Returns:

0
Success.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhPoint_t, PtCreateTransportCtrl(), PtDndFetch_t, PtDndSelect(), PtTransportCtrl_t, PtTransportType()

Drag and Drop chapter of the Photon Programmer's Guide