Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
virtualSCODEGiveFeedback(DROPEFFECTdropEffect**);**
Return Value
Returns DRAGDROP_S_USEDEFAULTCURSORS if dragging is in progress, NOERROR if it is not.
Parameters
dropEffect
The effect you would like to display to the user, usually indicating what would happen if a drop occurred at this point with the selected data. Typically, this is the value returned by the most recent call to CView::OnDragEnter or CView::OnDragOver. It can be one or more of the following:
DROPEFFECT_NONE A drop would not be allowed.
DROPEFFECT_COPY A copy operation would be performed.
DROPEFFECT_MOVE A move operation would be performed.
DROPEFFECT_LINK A link from the dropped data to the original data would be established.
DROPEFFECT_SCROLL A drag scroll operation is about to occur or is occurring in the target.
Remarks
Called by the framework after calling COleDropTarget::OnDragOver or COleDropTarget::DragEnter. Override this function to provide feedback to the user about what would happen if a drop occurred at this point. The default implementation uses the OLE default cursors. For more information on drag-and-drop operations using OLE, see the article in Visual C++ Programmer’s Guide.
For more information, see , , and in the OLE 2 Programmer's Reference, Volume 1.
COleDropSource Overview | Class Members | Hierarchy Chart
See Also CView::OnDragEnter, CView::OnDragOver