Solved

Custom DragDropEffects

Posted on 2004-10-04
4
634 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 12223217
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
ID: 12279790
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
ID: 12280335
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

733 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