draggedImage:beganAt:

Gives the source object an opportunity to respond to the initiation of a dragging session.

Declaration

- (void)draggedImage:(NSImage *)anImage beganAt:(NSPoint)aPoint

Parameters

anImage

The image of the dragged item.

aPoint

The origin of the image in screen coordinates.

Overview

This method is invoked when anImage is displayed but before it starts following the mouse. For example, you might choose to have the source give a visual indication to the user that data is being dragged from the source.

See Also

Responding to Messages During a Dragging Session

- draggedImage:movedTo:

Informs the dragging source when a dragged image moves to a new screen coordinate.

- draggedImage:endedAt:deposited:

Invoked after the dragging destination has been given a chance to operate on the data represented by the image.

- draggedImage:endedAt:operation:

Invoked after the dragging destination has been given a chance to operate on the data represented by the image.