public OnDropNotify ( int fDropped, uint dwEffects ) : int | ||
fDropped | int | If true, then the dragged item was dropped on the target. If false, then the drop did not occur. |
dwEffects | uint | /// Visual effects associated with the drag-and-drop operation, such as cursors, bitmaps, and so on. /// The value of dwEffects passed to the source object via OnDropNotify method is the value of pdwEffects returned by /// Drop method. /// |
Результат | int |
public override int OnDropNotify(int fDropped, uint dwEffects)
{
if (!SourceDraggedOrCutOrCopied)
{
return VSConstants.S_FALSE;
}
CleanupSelectionDataObject(fDropped != 0, false, dwEffects == (uint) DropEffect.Move);
SourceDraggedOrCutOrCopied = false;
return VSConstants.S_OK;
}