drag-and-drop

Drag and Drop between 2 list boxes.

Trying to implement drag and drop between 2 listboxes and all examples I've seen so far don't really smell good. Can someone point me to or show me a good implementation? ...

Jquery drag and drop plugin between tables

I'm looking for a jquery plugin that makes it possible to drag and drop between two different tables. I have a table containing search results and I want to make it possible to drag each result to another table to be able to add them to that table. Anyone got an idea on how to do this? ...

how to create dynamic droppables? jQuery + PHP + AJAX

I'm trying to create jQuery droppables based on a certain class. however, since there are many droppables they should only be created once something has started dragging. is there a way to create droppables based on the if the draggable has a certain class? ...

drag and drop on all nodes of a tree structure simultaneously in a advanceddatagrid

I have an advanceddatagrid tree with a hierarchial XML as its dataprovider. If i drag and drop a branch from one node in a tree, the similar action is to be performed on all nodes of the tree simultaneously. Can anybody suggest how do we perform this. ...

Cocoa: create drop zone for files

I want to create a drag and drop zone (using an NSView) for ANY file in my cocoa app. How do I do it? ...

WPF: PreviewMouseMove not firing when left mouse button is pressed?

I'm writing a small drag and drop feature on the project I'm working on. I've done this type of feature several times before, and I always use a combination of PreviewLeftMouseButtonDown and PreviewMouseMove to detect the start of a drag. It's always worked before. On this project, though, I'm finding PreviewMouseMove is not firing when...

Flex Drag and Drop

Hi all, I am creating an application that will allow users to model configuration information by allowing them to Drag and Drop objects from a Flex Tree into a DataGrid. I know that both the Tree and DataGrid both support Drag and Drop quite well. My problem is that I want users to drop items from the Tree into a particular Datagrid ce...

wpf-DragDrop in a listbox with groupstyle

I am using the control library from http://code.google.com/p/gong-wpf-dragdrop/successfully for my listbox dragging operation.But there is an issue when i drop an item to a listbox with a group style.I have traced that in the DropInfo class the line UiElement item=itemscontrol.GetItemContainerAt(e.GetPosition(itemscontrol)); always r...

How to use filegroupdescriptor to drag file to explorer c#

I would like to drag and drop an element of a listbox to explorer. When the drag and drop is started, I need to prepare the file on demand and save it to a memory stream. Can you provide me with an example on how to do it using the FileGroupDescriptor data structure? Thanks. Andrea ...

COleDataSource - setting drag & drop data between applications

Some code I am working on uses COleDataSource::CacheGlobalData, passing as CF_TEXT an HGLOBAL pointing to some memory allocated for the text. I want to also add a numeric value, so ythe drop-target can access either the text or numeric values. How can this easily be done? Can a 2nd CacheGlobalData call be made with a different CF_ value...

Catching a drag exit in Qt?

I've got a custom widget descended from QWidget that I want to be able to drop onto, and while the drag is hovering over the widget I'd like to highlight it to provide a little visual feedback to the user. Seems to me the simplest way to do this would be to highlight when dragEnterEvent is called and unhighlight when the drag exits the...

C# DragEnter event of the Winforms DragDrop.

Why do we actually need to handle DragEnter event of the drop destination? What is its effect at the destination? At Source public partial class ToolBoxForm : System.Windows.Forms.Form { public ToolBoxForm() { InitializeComponent(); } private void lbl_MouseDown(object sender, System.Windows.Forms.MouseEv...

drag TreeView node to DataGridView cell problem.

I have written this routine to drag a TreeView node-value to drop it on a DataGridView cell. private void dataGridView1_DragDrop(object sender, DragEventArgs e) { if (e.Data.GetDataPresent(typeof(string))) { #region Find Row and Cell from Mouse Position Point grvScreenLocat...

Flex Whiteboard application - like Visio/MS Powerpoint

Hi all, I am creating an application that will allow users to model system information by allowing them to Drag and Drop objects from a Flex Tree into some sort of canvas/grid ie: like a whiteboard application eg: Visio/MS Powerpoint etc. The application requires the following functionality: Drag and drop items from a Tree to some sor...

Drag & Drop Javascript sortable with moving marker?

I am searching through "drag & drop sortable" Javascript libraries such as Prototype's sortable, JQuery's sortable, and a number of standalone ones. I feature that I can't find (but know it's out there) is, I can't think of a better word, "delayed" sorting so that when I move an item around on the list, it will not be moved immediately,...

MFC/OLE Drag & Drop - freeing Globally allocated memory

If using COleDataSource & COleDataObject, you allocate some global memory for each clipboard data format you wish to store data in the drag'n'drop operation. In the drop code, you query if the object has data in the format(s) you want and can then access & free that memory. But as a drop-target you can't know all the formats that might ...

Silverlight 3 Toolkit - ListBoxDragDropTarget

I have two listboxes that I am dragging one item from to the other. Using the November 2009 build of the Silverlight 3 Toolkit's ListBoxDragDropTarget. I have an EventHandler on the Drop event of the second listbox. I am trying to get the index of the item that is being inserted so I can see what comes before it in the item collection. D...

Drag a link into a batch file

I like using %1 in my batch files, but dragging a link over from the browser (Chrome) doesn't work. My batch file is echo %1 pause How can I make it accept dragged links? ...

Flex tree control drag drop .item position

hi guys, just facing a difficulty with tree control drag drop.. Suppose i have tree with drag-drop enabled. I want to which node(id) is droped inside which node. 1]if i drag "Cat1" node inside "Cat3",i want to identify ids of siblings of "cat1",and "cat3". 2]in general i want to know the ids of current element being moved along wit...

want to make a complex c++ gui simply

Hi! I want to make a nice simple gui using c++. which have drag and drop capabilities, must be light weight. Im thinking of a gui like utorrent client gui.Its light weight and simple. please give me information about most easy to use libraries / ide /plugin (on windows platform may be good). ...