Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 653
  • Last Modified:

Custom DragDropEffects

I'm sure this question has been answered before, but I can't find it anywhere.

What I want to do is replace the standard DragDropEffect (the box with the plus sign and arrow) with either:
1) An outline of the control (I could draw the rectangle myself)
or
2) By showing the actual control (refreshing it's location while moving)
or
3) Some other idea unknown to me

Thanks for your help.
0
jrandallsexton
Asked:
jrandallsexton
1 Solution
 
Bob LearnedCommented:
This is one of those things that I really don't like about VB.NET vs. VB6.  They made dragging and dropping more of a pain, and removed some things, like setting a drag icon.  I am not sure that you are going to be able to accomplish this, but as always, I may be wrong.  I love to be proven wrong.

Bob
0
 
gregasmCommented:
http://www.codeproject.com/cs/miscctrl/ColumnReorderDataGrid.asp

This project, among other things, demonstrates how to do that fancy drag and drop.
0
 
jrandallsextonAuthor Commented:
Yes, the demo works nicely and looks good too - thanks.  Having trouble getting it to work though.

I'm going to keep this question open for another week or so - just in case someone else has something to say.

0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now