468,720 Members | 1,884 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,720 developers. It's quick & easy.

Problem doing multiple items drag and drop with 2 datagridView con

Hi, I'm using vS2005 and .net 2.0. for a Windows application. I'm
implementing a Drag and Drop between 2 DataGridView controls. It's working
fine with just one item being drag and drop. I want to do multiple items
drag and drop. Does any one know of any example of such? I only found
example for one item and for 2 list controls.
The problem that I'm having is when I press the shift key or control key and
use the mouse to click the send item, it invoke the MouseDown event where I
have code to "DoDragDrop" and it starts the dragdrop action and removing the
source data (I'm doing .All option) before I even starts the draging on the
application. Should I check to see if shift or control is pressed before
processing this and how can I tell if shift or control key is pressed?
Thanks.
--
Thanks.
Apr 25 '07 #1
0 1670

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by L.Peter | last post: by
reply views Thread by Yavuz Bogazci | last post: by
reply views Thread by Robin Tucker | last post: by
reply views Thread by joey.powell | last post: by
7 posts views Thread by =?Utf-8?B?TG9zdEluTUQ=?= | last post: by
1 post views Thread by Oskars | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.