Solved

Custom DragDropEffects

Posted on 2004-10-04
4
623 Views
Last Modified: 2010-12-13
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
Comment
Question by:jrandallsexton
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
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
 
LVL 8

Accepted Solution

by:
gregasm earned 500 total points
Comment Utility
http://www.codeproject.com/cs/miscctrl/ColumnReorderDataGrid.asp

This project, among other things, demonstrates how to do that fancy drag and drop.
0
 
LVL 4

Author Comment

by:jrandallsexton
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now