drag-and-drop

jQuery UI Draggable - need to modify element while dragging

Hi, I'm playing with Drag and drop funcitonality for the first time so I'm not entirely sure what I'm doing! I need to add a class to a "portlet" while it is being dragged. I don't want to use the clone functionality because I want the user to drag the actual element, I just want to nodify the element while it is being dragged and rese...

Custom image while dragging an CWnd-derived object

Hi all, I want to display a custom image while dragging an object in a drag&drop operation. I have created a CWnd-derived control (a chart) and I display 4 of them in the same dialog. I've implemented drag&drop using COleDataSource so that the user can change its position by dragging and dropping the control. Now I would like to displ...

Flex/AS3 Drag Drop - Custom Drop Feedback

Hi I am using a HorizontalList component to display a list of images, you can drag images from another component to join the list, this all works fine. If I do list.showDropFeedback(event) I get an unsightly black bar at the top of images in the HorizontalList - what I really want is a line to the left/right of the image, where the new...

How to disable drag-n-drop for NSTextField?

I want to disallow dropping anything into my NSTextField. In my app, users can drag and drop iCal events into a different part of the GUI. Now I've had a test user who accidentally dropped the iCal event into the text field – but he didn't realize this because the text is inserted in the lines above the one that I see in my one-line text...

Jquery Drag and drop to arbitray location

I've got a situation where a user needs to be able to drag and drop an image onto a section of a dynamically generated portion of a page that will will always be enclosed with <pre> </pre> tags but will have no other information. The only way I can I think to accomplish this is to add a wrapper div with a different z-index, but is it e...

Vista & C# - Drag & Drop problem (not related to elevation)

Application in question is .Net 2.0 Framework WinForms. It is supposed to work on large user base (installation from CD). Installation done using InnoSetup. On two machines, application does not accept Drag & Drop (both application and source of D&D have same elevation level). By adding Read & Read&Execute rights to INTERACTIVE SID for...

drag an drop multiple items along with IDs using javascript

Hi All, I need a javascript for drag and drop multiple items along with the item ID and the ID where item is dropped on. It should support both IE and Mozilla. Thanks & Regards Khushi ...

How easy it really is to implement drag&drop in silverlight?

I am new to silverlight - I've seen the tutorials and all, what I am looking for are high-level steps required to implement drag&drop and maybe a bit of (pseudo)code just to get an idea. Any help appreciated! ...

How to I prevent 'self' drag and drop in a datagridview?

I'm implementing drag and drop functionality between two datagridviews. This works as intended with one exception: it is possible to drag and drop within the same datagridview. This results in duplicated rows. I want to limit the functionality so that I can only drag from one datagridview to another. Does anyone know how this can be achi...

Folder "drop box" with custom behavior

I'm thinking of trying to create a "drop box" application that can automatically organize files as you drop them into a folder. I always end up with a bunch of random files on my desktop, and I think it would be useful to be able to drag them onto an icon/folder on the desktop and have them automatically sorted into other locations base...

Java Drag and Drop to native os

I've been looking around for some time and have yet to be able to find any libraries or information for Java on how to drag lets say an ImageIcon onto a Windows folder and get the path as to where you "dropped" the ImageIcon. I'd really like a platform independent solution that works across OSX/linux/Win, but at the very least would like...

How to drag NSStatusItems

You all know the menu bar (or better said NSStatusBar) in Mac OS X. There are some items which I can move and other which not. I would like to be able to drag the NSStatusItem of my app. Any idea how to implement this? ...

GWT-DnD (drag and drop) layout question

The following is when using the drag and drop library from here: http://code.google.com/p/gwt-dnd/ When placing an absolute panel inside a relative panel, it appears to disable the drag ability. A simple example: private AbsolutePanel leftPanelTree = new AbsolutePanel(); private HorizontalPanel drawingAppPanel = new Horizonta...

Python drag and drop

Im working on a parser here that opens a file, reads it and prints data in another file. The input file is determined from sys.argv[1] to both handle commandline opening and drag and drop (in windows). However, when drag and dropping a file, it gives me ioerror 13: Permission denied Looking at what sys.argv contained, I did the follo...

How do I drag and drop a row in a JTable?

How do you setup a JTable to be able to drag a row to a different index in the table. For example if I have 5 rows and I want to drag the 4th row to the 2nd position? ...

How to I set the cursor to the Drag Copy/Move cursors in Win32?

It doesn't seem to be one of the standard cursors (like IDC_ARROW), so how can I load this? ...

Question Highlight TreeView Item Being Dragged Over

In my application, I have a TreeView that allows drag/drop. I have all the functionality working fine, however I am having difficulty highlighting a TreeViewItem when it is dragged over. Here is my style for my treeview item. The IsMouseOver trigger does not work while dragging, because dragging seems to block other mouse events. Ca...

WPF: Limiting Valid Control Part for Dragging Operation via DependencyObject

I'm asking this question after reading this answer on StackOverflow. The supplied answer works great for allow you to move a whole control. But supposed I have a Usercontrol I've created like so: <UserControl x:Class="WpfTest.UserControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schem...

c# Drag & drop in listview

I've got a listbox from which I'm dragging into the ListView. Now I have groups in the ListView so when the item from the ListView is dropped at the point of the listviewgroup it has to add it under that group. This is the code which handles the drop. private void lstvPositions_DragDrop(object sender, DragEventArgs e) { ...

NSTableView and NSOutlineView drag-and-drop

I have an NSTableView and an NSOutlineView, both with their content provided by bindings, that I'd like to have some drag-and-drop functionality: Drag rows from Table A onto a row of Outline B, where they will be copied into a data structure which the row in Outline B represents. Drag a row from Outline B onto another row in Outline B,...