Drag Manager Functions


 
ChangeDragBehaviors
DisposeDragDrawingUPP
DisposeDragInputUPP
DisposeDragReceiveHandlerUPP
DisposeDragSendDataUPP
DisposeDragTrackingHandlerUPP
GetDragAllowableActions
GetDragDropAction
GetDragHiliteColor
InvokeDragDrawingUPP
InvokeDragInputUPP
InvokeDragReceiveHandlerUPP
InvokeDragSendDataUPP
InvokeDragTrackingHandlerUPP
NewDragDrawingUPP
NewDragInputUPP
NewDragReceiveHandlerUPP
NewDragSendDataUPP
NewDragTrackingHandlerUPP
SetDragAllowableActions
SetDragDropAction
SetDragImage
InstallTrackingHandler Installs a tracking handler function for one or all of your application’s windows.
InstallReceiveHandler Installs a receive handler function for one or all of your application’s windows.
RemoveTrackingHandler Removes a tracking handler function from one or all of your application’s windows.
RemoveReceiveHandler Removes a receive handler function from one or all of your application’s windows.
NewDrag Creates a new drag reference for your application to use with the Drag Manager.
DisposeDrag Disposes of a drag reference and its associated data.
AddDragItemFlavor Creates a drag item and adds a flavor to a drag item.
SetDragItemFlavorData Sets the data or part of the data contained within an existing flavor.
SetDragSendProc Sets the send data function for the Drag Manager to use with a particular drag.
SetDragInputProc Sets the drag input function for the Drag Manager to use with a particular drag.
SetDragDrawingProc Sets the drag drawing function for the Drag Manager to use with a particular drag.
TrackDrag Drags an item or collection of items from your application.
CountDragItems Gets the number of drag items that are contained in a drag reference.
GetDragItemReferenceNumber Gets the item reference number of a specific item in a drag reference.
CountDragItemFlavors Gets the number of drag item flavors that are contained within a drag item.
GetFlavorType Gets the type of a specific flavor in a drag item.
GetFlavorFlags Gets the flags for a specific flavor in a drag item.
GetFlavorDataSize Gets the size of the flavor data for a specific flavor in a drag item.
GetFlavorData Gets all or part of the flavor data for a specific flavor in a drag item.
GetDragItemBounds Gets the bounding rectangle of a drag item.
SetDragItemBounds Sets the bounding rectangle of a drag item.
GetDragAttributes Gets the current set of drag attribute flags.
GetDragMouse Gets the current mouse and pinned mouse locations.
SetDragMouse Sets the current pinned mouse location.
GetDragOrigin Gets the mouseDown parameter location that started the given drag.
GetDragModifiers Gets the current set of keyboard modifiers.
GetDropLocation Gets the AppleEvent function descriptor of the drop location.
SetDropLocation Sets the AppleEvent descriptor for the drop location of a drag.
ShowDragHilite Highlights an area of your window during a drag.
HideDragHilite Removes highlighting created with the ShowDragHilite function.
DragPreScroll Prepares your window or pane for scrolling.
DragPostScroll Restores the drag highlight after scrolling part of your window.
UpdateDragHilite Updates the portion of the drag highlight that was drawn over by your application.
WaitMouseMoved Returns true if a mouse movement is the beginning of a drag.
ZoomRects Animates a rectangle into a second rectangle.
ZoomRegion Animates a region’s outline from one screen location to another.


© 2001 Apple Computer, Inc. (Last Updated July 17, 2001)