Description |
Parent class: XEvent
XEvent
For drag-events a XDragEvent is generated, to catch them you need to install a XDragHandler. Possible event-IDs are:
DRG_DROPPED | An item was dropped. |
DRG_DRAGOVER | An item fly over the window. |
DRG_ENDCONVERSATION | The converation ends. No informations about dragitems avaible! |
DRG_DISCARDOBJECT | Delete the items(s). |
DRG_PRINTOBJECT | Print the item(s). Use QueryPrinterInfo() to get information about the requested printer. |
GetDragItem |
XDragItem * buffer buffer which will get the item-information
SHORT index zero-based index of item to query
Query a dragitem.
GetDragItemCount |
SHORT count of items
Return the count of drag-items of this dragevent
GetDropPos |
XPoint * position buffer which will get the position
Query the position where the objects were dropped
GetSourceWindow |
Query the system-define handle of the window where the objects were dropped.
SetAcceptMode |
SHORT accept the opperation, possible values are
DRG_DROP | accept the items |
DRG_NODROP | dont accept the items in this case |
DRG_NEVERDROP | never accept the items |
Set the operation supported by the application which receives the drag-event
SetOperation |
SHORT operation the opperation, possible values are
DRG_COPY | copy the items |
DRG_MOVE | move the items |
DRG_LINK | link the items |
Set the operation supported by the application which generates the drag-event