drag-and-drop

A different captcha approach

Reformatted into a question.... Is drag and drop a good catcha method? I.e. would it be a good way of allowing only humans to submit a form? Original text: You can start voting down but i am a newbie and here is my captcha version! The captcha will be based on drag and drop... a human being could implement drag a...

c# dragdrop from listview control

Hi, i have a c# winform app that contains a listview control. i would like to be able to drag items from the listview onto the desktop. does any one know how to do this? I am vaguely familiar with the dodragdrop() method but not sure of the proper implementation. Ta! ...

How do I make the form partially transparent when moving?

How can I set the opacity of the winform to something like 50% while moving the form by draging the title bar and reset its opacity to 100% once left mouse button is up. ...

Drag and Drop between Instances of the same Windows Forms Application

I have created a small Windows Forms test application to try out some drag/drop code. The form consists of three PictureBoxes. My intention was to grab a picture from one PictureBox, display it as a custom cursor during the drag operation, then drop it on another PictureBox target. This works fine from one PictureBox to another as long ...

Problem with IDropTarget when using with a VCL Form

I have a VCL gui developed in Codegear. I have created a DropTarget for the mainform and the DropTarget object implements the IDropTarget interface which allows me to drag and drop files from explorer. Now because I only want some of the child components to be drop targets (not the whole form), I only have the DragEnter method return S_O...

Virtual file drag drop on linux Operating systems

I need to make a native gtk application which has the functionality of virtual file drag and drop. What i mean here is that when we start dragging a file from the native application then that file actually doesn't exist there but is either generated or downloaded from some remote location and is finally available at the drop location. ...

UITouch event or UIControlEvent for dragging through a set of images?

I have a grid of images. I want to create an effect so that when the finger dragging through "a line" of images, each image which is touched will do some event (say wobble for example) in the order of being touched. I tried to set the action:forControlEvents, but I couldn't find any appropiate UIControlEventxxx. I'm working in an UIVie...

WinForms Interop, Drag & Drop from WinForms -> WPF

Hello all! I'm trying to drag data from the Winforms portion of my application on a WPF controls that's contained inside an "ElementHost". And it crashes when I try doing so. Trying the same thing but from Winforms to Winforms works fine. (See example code below) I need help on making this work... have any clues what I'm doing wrong? ...

Python GTK Drag and Drop - Get URL

I'm creating a small app must be able to receive URLs. If the apps window is open, I should be able to drag a link from a browser and drop it into the app - and the app will save the URL to a database. I'm creating this in Python/GTk. But I am a bit confused about the drag and drop functionality in it. So, how do it? Some sample code t...

What to program a visual radio link budget tool in?

Hi, I want to build a visual radio link budget tool. Ideally you can drag and drop components and then calculate a link budget through the system. I would like to have a database/store of all the components we use regularly that you can just pick from a list/drag from a library. I have attempted to do this in Excel, which can easily ...

Drag and Drop simulation?

I have a proprietary application with the only way to pass data externally - drag and drop from other application (like dragging a file from Windows explorer). My question is, is it possible to simulate drag'n'drop from external applicaiton? Pure win32 solution preferred, dependencies like MFC and WTL could be included too. Help! ...

How do I highlight the UltraExplorerBarGroup I am dragging over?

This is a usability request. My infragistics-using app enables the user to drag an UltraGridRow onto a UltraExplorerItem to simulate a grouping action. My user is too dumb to realise which item he's attempting to drop onto. Is there a way I can highlight the moved-over item? ...Perhaps on the DragOver event handler of the explorer bar? ...

Silverlight Toolkit TreeView Drag and Drop

Does any know how to implement drag and drop in the silverlight toolkit's treeview? I saw the drag and drop manager for silverlight but supposedly you can put containers around the items you want to drag and drop but I wonder how I would do this on another treeviewitem exactly? Maybe there is a better way or custom way? Thanks! ...

Drag and Drop a Groupwise Email to C# Winform.

Hi all, I have a need to be able to drag and drop a groupwise email to my winform application and am not having any luck at all. I am able to get a filename as such but it is only a name, not a path. Everytime i call e.Data.GetData("FileContents", true)) or e.Data.GetData("FileContents", false)) or e.Data.GetData("FileContents"...

Drag-and-drop modifies read-only WinForm container (plus other peculiarities of drag-and-drop)

Sampling drag-and-drop between WinForm RichTextBoxes within one application and between them and external applications revealed two interesting observations (item 1 certainly appears to be a bug; in a perfect world, item 2 would probably be as well): Some drag-and-drop operations delete the dragged text from the source container, wheth...

Drag and drop feedback in a JTree with custom TreeCellRenderer (Java, Swing)

I have a class derived from JTree with custom TreeCellRenderers. I have implemented drag and drop in that tree, so a user can rearrange tree nodes. The drop mode is DropMode.ON_OR_INSERT, so the user can drop nodes on or between other nodes. While the user is dragging the node, if the pointer points between nodes, a blue line is drawn i...

Migrate jQuery to jQuery UI

Below is my full code for my site's drag and drop, that saves positions into mysql This is a couple years old though and I would like to update my jquery to a newer version. This code uses the older jquery version 1.0.2 and interface.js I believe to use drag and drop with jquery's newer versions requires the use of jquery UI plugin? C...

need Wpf equivalent of SystemInformation.DragSize

Trying to implement Wpf Listbox dragging, and I need the Wpf equivalent of the SystemInformation.DragSize property. thanks ...

Drag and drop files into VS 2008 in Win 7

I installed VS 2008 Team System on a brand new Windows 7 installation, and I can't drag and drop files to it to open them (ie: .config files) I could do this on Windows XP I can open them from the File -> Open menu Do you know of any setting I might be missing? I already had a lot of fun with UAC and having to run VS as an administra...

Draggable components?

Hello, I have two forms(one main form,and one submain form).I'd like to do something like CodeGear's IDE panels on drag-and-drop.Meaning I could move them and they merge with other components. However,I'm asking for something different: I'd like to drag the submain form into the main form and to turn it into a something like TFrame or...