Public Member Functions | |
virtual | ~IDragDrop () |
Virtual destructor. | |
virtual DROPEFFECT | DoDrag (CDragSource &dragSource)=0 |
Called to perform a drag operation. | |
virtual DROPEFFECT | OnDragEnter (const CDropTarget &dropTarget)=0 |
Called by CGrid when the cursor is dragged into a window for the first time. | |
virtual DROPEFFECT | OnDragOver (const CDropTarget &dropTarget)=0 |
Called by CGrid when the cursor is dragged over a window. | |
virtual BOOL | OnDrop (const CDropTarget &dropTarget, DROPEFFECT dropEffect)=0 |
Called by CGrid when a drop operation is about to occur. | |
virtual void | OnDragLeave (const CGrid &grid)=0 |
Called by the framework when the cursor leaves a window during a dragging operation. | |
virtual bool | CanDrop (const CDropTarget &dropTarget) const =0 |
The function indicates whether data can be dropped to a specified location. |
DROPEFFECT DoDrag | ( | CDragSource & | dragSource | ) | [pure virtual] |
Called to perform a drag operation.
[in] | dragSource | Contains a header, list of item handles and the grid itself where these handles are taken. |
Implemented in CDragDrop.
DROPEFFECT OnDragEnter | ( | const CDropTarget & | dropTarget | ) | [pure virtual] |
Called by CGrid when the cursor is dragged into a window for the first time.
[in] | dropTarget | Contains the drop position where a clipboard content should be placed. |
Implemented in CDragDrop.
DROPEFFECT OnDragOver | ( | const CDropTarget & | dropTarget | ) | [pure virtual] |
Called by CGrid when the cursor is dragged over a window.
[in] | dropTarget | Contains a drop position where the clipboard content should be placed. |
Implemented in CDragDrop.
BOOL OnDrop | ( | const CDropTarget & | dropTarget, | |
DROPEFFECT | dropEffect | |||
) | [pure virtual] |
Called by CGrid when a drop operation is about to occur.
[in] | dropTarget | Contains the drop position where a clipboard content should be placed. |
TRUE if the clipboard data have been successfully dropped. Otherwise FALSE.
Implemented in CDragDrop.
void OnDragLeave | ( | const CGrid & | grid | ) | [pure virtual] |
Called by the framework when the cursor leaves a window during a dragging operation.
[in] | grid | Reference to the grid the cursor is leaving. |
Implemented in CDragDrop.
bool CanDrop | ( | const CDropTarget & | dropTarget | ) | const [pure virtual] |
The function indicates whether data can be dropped to a specified location.
Implemented in CDragDrop.
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |