InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CusDtLnkUIDragDropSource Class Reference
Inheritance diagram for CusDtLnkUIDragDropSource:
CDragDropSourceIDragDropSourceIPMUnknown

Public Member Functions

 CusDtLnkUIDragDropSource (IPMUnknown *boss)
 
 ~CusDtLnkUIDragDropSource ()
 
bool16 WillDrag (IEvent *event) const
 
bool16 DoAddDragContent (IDragDropController *controller)
 
- Public Member Functions inherited from CDragDropSource
 CDragDropSource (IPMUnknown *boss)
 
virtual CursorSpec GetDragCursor (DragDrop::eTargetResponse, bool16 isDragLocal) const
 
virtual SysWireframe DoMakeDragOutlineRegion () const
 
virtual ErrorCode ProcessDragDropCommand (IDragDropController *, DragDrop::eCommandType)
 
virtual IDataBaseGetSourceDataBase () const
 

Additional Inherited Members

- Public Types inherited from IDragDropSource
enum  { kDefaultIID = IID_IDRAGDROPSOURCE }
 

Detailed Description

Provides the node with drag source capabilit

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * CusDtLnkUIDragDropSource::CusDtLnkUIDragDropSource (IPMUnknownboss)

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.
CusDtLnkUIDragDropSource::~CusDtLnkUIDragDropSource ()

Destructor.

Member Function Documentation

bool16 CusDtLnkUIDragDropSource::DoAddDragContent (IDragDropControllercontroller)
virtual

Adds the unique key to the drag.

Parameters
controller[IN] in charge of this widget's DND capabilities.
Returns
kTrue if valid content has been added to the drag, kFalse otherwise.

Reimplemented from CDragDropSource.

bool16 CusDtLnkUIDragDropSource::WillDrag (IEventevent) const
virtual

Returns kTrue if a unique key is associated with the widget.

Parameters
event[IN] that signifies the drag.
Returns
kTrue if a drag can be initiated, otherwise kFalse.

Reimplemented from CDragDropSource.