![]() | InDesign SDK 20.5 |
#include <DragDropConstants.h>
Classes | |
| class | TargetResponse |
Public Types | |
| enum | eCursorType { kDefaultDragCursors = -99 } |
| enum | eOutlineType { kNoDragOutline = 0, kDefaultDragOutline = -1 } |
| enum | eTargetHiliteType { kNoDropHilite = 0, kDefaultDropHilite = -1, kTargetWillDrawDropHilite = kNoDropHilite } |
| enum | eTargetWillDrawTrackingFeedback { kUseDefaultTrackingFeedback = 0, kTargetWillDrawTrackingFeedback = 1 } |
| enum | eTargetWillProvideCursorFeedback { kUseDefaultCursorFeedback = 0, kTargetWillProvideCursorFeedback = 1 } |
| enum | eTargetTrackingBehavior { kUseDefaultTargetTracking = 0, kTargetTrackingBehaviorIsSticky = 1 } |
| enum | eTargetResponse { kWontAcceptDrop = 0, kDropWillCopy = 1, kDropWillMove = 2, kDropWillLink = 4, kNoDropEffectCursor = -1 } |
| enum | eCommandType { kDragCommand = 0, kDragMoveCommand, kDropCommand, kDrag = kDragCommand, kDragMove = kDragMoveCommand, kDrop = kDropCommand } |
| enum | eHelperType { kDefaultHelper = 0, kAddonHelper = 1, kOverrideHelper = 2 } |
Static Public Attributes | |
| static const TargetResponse | kWontAcceptTargetResponse |
| static const TargetResponse | kInvalidTargetResponse |
Class/Container used to scope constants and enums specific to Drag Drop operations. (should be a namespace)
constant to indicate that the platform default drag feedback cursors should be used
Types of DragDrop/ScrapSuite flavor helpers: used to resolve situations where more than one helper is capable of handling a DragDrop or Clipboard operation.
constants to indicate the type of drop target highlighting to be used.
constants to indicate what the drop target intends to do with the drag data
constants to indicate whether the drag drop framework should treat a drop target as being a "sticky target". Once the framework has set a sticky target as the active target, this target will remain the active target even if mouse moves outside the sticky target until such time as the mouse enters a new valid target. Default target behavior is non-sticky. Stick targets are used to achieve behavior similar to I-beam
| Enumerator | |
|---|---|
| kUseDefaultTargetTracking | default drop target selection behavior |
| kTargetTrackingBehaviorIsSticky | drop target will have sticky behavior |
constants to indicate whether a drop target will draw its own feedback for the data being dragged
| Enumerator | |
|---|---|
| kUseDefaultTrackingFeedback | default drag feedback should be used |
| kTargetWillDrawTrackingFeedback | target will draw drag feedback while drag is within it's bounds |
constants to indicate whether a drop target will provide its own cursors for the data being dragged
| Enumerator | |
|---|---|
| kUseDefaultCursorFeedback | default drag cursors should be used |
| kTargetWillProvideCursorFeedback | target will provide its own cursors, and set them appropriately |
| static |
TargetResponse constant to indicate an invalid response - something went wrong in the target
| static |
TargetResponse constant to indicate target could not accept the drop