- Timestamp:
- 04/26/10 00:56:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs
r3483 r3526 264 264 ListViewItem listViewItem = itemsListView.GetItemAt(p.X, p.Y); 265 265 if (listViewItem != null) { 266 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects. Copy; // CTRL key266 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link; // CTRL key 267 267 else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move; // SHIFT key 268 else if ((e.AllowedEffect & DragDropEffects.Link) == DragDropEffects.Link) e.Effect = DragDropEffects.Link;269 268 else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy; 270 269 else if ((e.AllowedEffect & DragDropEffects.Move) == DragDropEffects.Move) e.Effect = DragDropEffects.Move; 270 else if ((e.AllowedEffect & DragDropEffects.Link) == DragDropEffects.Link) e.Effect = DragDropEffects.Link; 271 271 } 272 272 }
Note: See TracChangeset
for help on using the changeset viewer.