471,110 Members | 1,072 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,110 software developers and data experts.

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?
Apr 25 '07 #1
0 1735

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.