Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptcanceldnd.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptcanceldnd.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptcanceldnd.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptcanceldnd.html on line 8
Cancel a drag-and-drop operation
int PtCancelDnd( PhRid_t rid,
unsigned flags,
PhPoint_t const *pos,
unsigned ig,
unsigned long handle );
- rid
- The region ID.
- flags
- A combination of the following bits:
- Pt_DND_SILENT — the initiator gets no
notifications of drag-and-drop progress
(valid only if no request data types were added to the
PtTransportCtrl_t
structure).
- Pt_DND_LOCAL — the drop can occur only within
the context of the application that
initiated the drag-and-drop. That is to say that the user can't drop the
data on any other application.
This is very useful for allowing the dragging and dropping of private
data or pointer references that are meaningful only within a single
application's context.
- pos
- The position where the drag started.
- ig
- The input group.
- handle
- A number that you can use to identify a transaction.
ph
PtCancelDnd() cancels a drag-and-drop operation.
- 0
- Success.
- -1
- An error occurred.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PhPoint_t,
PtCreateTransportCtrl(),
PtDndFetch_t,
PtDndSelect(),
PtTransportCtrl_t,
PtTransportType()
Drag and Drop chapter
of the Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptcanceldnd.html on line 156
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptcanceldnd.html on line 156