COleDropSource::GiveFeedback

virtual SCODE GiveFeedback( DROPEFFECT dropEffect );

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:

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 Drag and Drop (OLE) in Visual C++ Programmer’s Guide.

For more information, see IDropSource::GiveFeedback, IDropTarget::DragOver, and IDropTarget::DragEnter in the OLE 2 Programmer's Reference, Volume 1.

COleDropSource OverviewClass MembersHierarchy Chart

See Also   CView::OnDragEnter, CView::OnDragOver