#include <IDropTargetCallback.h>
IDropTargetCallback allows drag drop targets to directly notify other objects during the drag tracking process.
- See Also
- IDragDropTarget::RegisterTargetCallback, IDragDropTarget::ReleaseTargetCallback
constants for indicating the current phase of the drag
| Enumerator |
|---|
| kTargetEntered | drag has entered the target |
| kTargetWithin | drag is moving within the target |
| kTargetLeft | drag has left the target |
Callback for drag tracking. The localPt parameter is only valid in the kTargetWithin state, which is called periodically as the mouse moves within the target.
- Parameters
| state | IN the current state of the drag |
| localPt | IN current mouse location within the target |
| rect | IN bounds of the drag feedback |