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/ph/phcanceldrag.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/ph/phcanceldrag.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/ph/phcanceldrag.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/ph/phcanceldrag.html on line 8
Cancel a drag operation
int PhCancelDrag(
        PhRid_t rid,
        unsigned input_group,
        unsigned flags );
- rid
  
 
- A PhRid_t that must match the
  rid passed to the PhInitDrag() that initiated
  the drag operation you want to cancel.
  
 
- flags
  
 
- Must be 0.
  
 
- input_group
  
 
- An input-group value that must match the input_group
  passed to the PhInitDrag() that initiated the drag operation
  you want to cancel.
 
ph
This function cancels a drag. The application still collects a
Ph_EV_DRAG event with a subtype of PhEV_DRAG_COMPLETE
that describes the results of the operation.  You can inspect the
button_state member of the event
PhDragEvent_t data structure
to determine whether the PhCancelDrag() call or a button
release caused the operation to complete.
- >0
 
- Successful completion.
 
- -1
 
- An error occurred.
 
Photon
| Safety: |  | 
| Interrupt handler | 
    No | 
| Signal handler | 
    No | 
| Thread | 
    No | 
PhBitmapCursorDescription_t,
PhCharacterCursorDescription_t,
PhDragEvent_t,
PhEvent_t,
PhGetData(),
PhDim_t,
PhInitDrag()
PhPoint_t,
PhRect_t,
PhTranslateRect()
“Dragging”
in the Events 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/ph/phcanceldrag.html on line 143
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/ph/phcanceldrag.html on line 143