drag-and-drop

Using System.Windows.DragDrop.DoDragDrop() with touch events?

Hi there, I currently develop an application providing the possibility to drag&drop items from one ListBox to an other. This is working perfectly while using a mouse. However, when trying to do the same with a touch screen (producing genuine touch events) this will not work. In my logs I see that the TouchDown and Move is actually det...

jquery drag and drop help

I have this code for a drag and drop portion of my site, I use this HTML first off, <li class="drag_check"> <input type="checkbox" value="Y" class="cv_choice" name="cv_file[<?=$rslt['code'];?>]" id="inp_cv_<?=$rslt['code'];?>" /> </li> and then this code for the drag and drop: var cv_file = new Arr...

Select area on click with jQuery and imgAreaSelect

Hi guys, I've been looking into this for some time now and I didn't manage to add this functionality to the imgAreaSelect jQuery plugin. What I basically need it to do is to select an area on click if minWidth and minHeight are specified; so besides dragging and dropping in order the select an area, the user could just click and have t...

jQuery UI .draggable() and .droppable() swapping siblings on start

I'm in the process of trying to create a series of thumbnail images, each with it's own li, that are .draggable() and .droppable() and rearrange. I have many questions about this and am doing my best to find my own solutions but I've run into an issue. I'd like to have all of the lis set to draggable on $(document).ready. Then, once one...

How to create draggable component with RichFaces?

Hello, I try to make draggable components and to do this I am based on this example: http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf and i started with this example but the component does not give any indication that is draggable: <!---------------- Indicator --------> <rich:dragIndicator id="indicator" /> ...

How do I make my application display whatever drag graphic is used by the source?

When you drag a picture from Firefox to Windows Explorer, Explorer shows Firefox's drag graphic. How does he do it? Illustration: http://www.youtube.com/watch?v=3rliNPuKh58 (The video capture is not entirely accurate - the mouse cursor is shown as an arrow at all times when it in fact changes between the default drag and drop cursor and...

Google Maps API - Drop a new pin

I'd like users to be able to drop a pin on my custom Google Maps integration, similar to the ability to do this in the "My Maps" section on Google. I can't find anything about allowing a user to drop new pins through the API though. Can anyone provide some info or point me to the right direction? Thanks! ...

What do various clipboard/drag-and-drop formats mean?

So I was playing around with drag and drop. I made a sample application and dropped a file from My Music onto my application. Here's what e.Data.GetFormats() returned: Shell IDList Array UsingDefaultDragImage DragImageBits DragContext DragSourceHelperFlags InShellDragLoop FileDrop FileNameW FileName IsShowingLayered DragWindow IsComput...

Tutorial on How to drag and drop item from UITableView to UITableView

I've been banging my head on this one for a while and I figured it out. I want to give back to the community since I've gotten a lot of help from this website :). I'm trying to copy an item from one UITableView to another UITableView and information I've seen on the web regarding how to do this has been sketchy at best. I figured it out...

Implement Drag and Drop without using Context Menu using Shell extension in C++

HI, I want to implement Drag and Drop without using Context Menu using Shell extension in C++ Currently I am refering to Shell extension article: http://www.codeproject.com/KB/shell/shellextguide6.aspx But this article in turn is using Cookies and all .. I am not able to understand that. My requirement is just when I want to drag and d...

What is the right solution for dragging elements in container with vertical scrolling?

I have container (VBox). It contains certain child elements (for example, other Vbox). Container has vertical scrollbar. When I start dragging certain child, verticall scrolling is not working, why? I resolved this problem using container's dragOver event. But in Flex 4 I use VGroup as container, and there is not maxVerticalScrollPosi...

Web browser to WPF image drag and drop

Hi, I have a window set to allow drop and my Drop Event Handler is working fine for images dragged in from Windows Explorer. But dragging in pictures from a web browser has some quirks. In Firefox, I am only getting .bmp files with random names. Images from IE 8 (haven't tested others) only show a Not Allowed mouse cursor. I guess t...

Wanted: Directions/ideas for a custom tree-to-tree drag'n'drop implementation in ExtJS

I need some combined functionality regarding drag'n'drop between two trees in ExtJS. The first required feature is very simple and is just the builtin drag'n'drop features isolated to a single tree only. The second required feature is that I wan't the user to be able to drag a node from the left tree and drop it at any node in the ri...

Drag'n'drop image inside link from IE to C#

Hello, I'm trying to get link to image file (src attribute) which I drag'n'drop from browser onto my desktop application. Image located inside an anchor (a-tag). My code works with Chrome & Fx - but not with IE :( if (e.Data.GetDataPresent("HTML Format")) { string data = (string)e.Data.GetData(DataF...

Event does not work after drag and drop operation

I developing some kind of builder for our project. I want to use both drag and drop support and context menu in my application. Currently I use drag and drop support but no luck with context menu. Below is my builders gui. Left side my gui is toolbox. I am draging and droping widgets to the right side(QGraphicsScene) and I also want to...

Qt Drag and Drop General Question

Does it makes sense to drag and drop QWidget to QGraphicsScene or does it have side effects? ...

rails process for saving order of awesome_nested_set using jquery & nestedsortables

Hi All, I have a categories model made with the fantastic awesome_nested set. I have successfully generated the drag and drop tree and successfully generated the complete hash of this tree using SERIALIZELIST plugin and sent it to the "array" method that I have added to my categories controller. (using jquery and nestedsortables) The ha...

jQuery draggable / droppable problem

Hello I can drag items without any problem unfortunately items can be dragged everywhere which I do not want. I only want items to be dragged on some specific areas such as buttonmenu. I used many methods but I have not got any result. Could you please tell me how to disable a buttonmenu which has id of 34 not to drop buttons there? You ...

Detecting a drag operation from another application

I have an application that runs elevated (yes, it has to be elevated) but it needs to detect when another application is dragging an object over it. My application doesn't care what the object is, it doesn't want to receive the object, it just needs to know if something is being dragged. In a normal application this isn't an issue, but b...

Drag and drop layout

Hi all, I have a question: How to create a drag and drop layout as layout "All Programs" in HTC screen home ? Thanks for help. ...