![]() | InDesign SDK 20.5 |
#include <CDragDropTargetFlavorHelper.h>

Protected Member Functions | |
| DragDrop::TargetResponse | GetCachedResponse () const |
Protected Attributes | |
| DragDrop::TargetResponse | fCachedResponse |
| bool16 | fCanHandleDragData |
Additional Inherited Members | |
Public Types inherited from IDragDropTargetFlavorHelper | |
| enum | { kDefaultIID = IID_IDRAGDROPTARGETFLAVORHELPER } |
Common baseclass for Drag Drop Target Flavor Helpers. Implementors of drop target flavor helpers should subclass CDragDropTargetFlavorHelper,
| inline |
Once we see the data inside a drag, can we still perform the drop.
| pure virtual |
Override to indicate if this target helper can accept the current drag.
Implements IDragDropTargetFlavorHelper.
Implemented in CusDtLnkUIDDTargetFlavorHelper, and BscDNDCustomFlavorHelper.
| virtual |
Override to respond to a drag entering the target. Default implementation falls back to the target.
Implements IDragDropTargetFlavorHelper.
| virtual |
Override to give helper a chance to "preflight" the data contained in a drag. Default implementation returns kTrue (all is well).
Implements IDragDropTargetFlavorHelper.
| virtual |
Override to respond to a drag leaving the target. Default implementation falls back to the target.
Implements IDragDropTargetFlavorHelper.
| virtual |
Override to respond to a drag moving within the target. Default implementation falls back to the target.
Implements IDragDropTargetFlavorHelper.
| virtual |
Override to return the bounds of the item(s) being dragged. Default implementation returns an empty rect.
Implements IDragDropTargetFlavorHelper.
| virtual |
Override to change the type or priority of the helper. Default implementation returns DragDrop::kDefaultHelper.
Implements IDragDropTargetFlavorHelper.
| virtual |
INTERNAL_USE_ONLY - Subclasses should override CouldAcceptTypes.
Implements IDragDropTargetFlavorHelper.
| virtual |
Override if the helper wants to do its own drag dracking. Default implementation returns kFalse.
Implements IDragDropTargetFlavorHelper.
| virtual |
Override to perform any necessary initialization of the target helper, called from HandleCouldAcceptTypes. Default implementation does nothing.
| pure virtual |
Override to create and process (or schedule) the commands needed to complete the drop operation.
Implements IDragDropTargetFlavorHelper.
Implemented in CusDtLnkUIDDTargetFlavorHelper, and BscDNDCustomFlavorHelper.
| inline |
Set the "can handle drag data" flag.