List Info

Thread: C-Sharp (C#) Group: Drag and Drop from picturebox to listview




C-Sharp (C#) Group: Drag and Drop from picturebox to listview
user name
2006-06-19 19:46:45
I am having a problem implementing drag and drop from a
picturebox to a
listview.  I am able to drag and drop from within the
listview, as well
as drag from the listview and drop into the picturebox. 
However,
whenever I drag from the picturebox and drop into the
listview, I run
into a problem.  In the listview_dragenter function I have
e.Effects =
DragDropEffects.Copy (I have also tried
DragDropEffects.Move, but this
doesn't help either), which is the same thing that I have
in the
picturebox_dragenter function.  But, when I try to drag from
the
picturebox and drop into the listview, my cursor gives me
the same
effect as the DragDropEffects.None, and my listview_dragdrop
function
never gets called.  Does anyone have any ideas of what I
might be doing
wrong?  Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )