drag-and-drop

When dropping a text snippet how can i keep the links to remain functional ?

I am dropping a text snippet (from IE) from a web page, that might contain links too. string _rtf = (string) data.GetData("Rich Text Format"); RichTextBox box = new RichTextBox(); box.DetectUrls = true; box.SelectedRtf =_rtf; box.SelectAll(); _rtf = box.SelectedRtf; The problem is, when i save the content of the rich text box, the link...

Can anyone help me with drag and drop functionality of files using javascript supported by all versions of IE?

Hi I have text box. when I drag and drop a file into it, the path or content of the file should be displayed. the major concern being it's compatibility with all versions of IE. I am a beginner in javascript programming. can anyone suggest any idea or some tricks to get through? It's very urgent. ...

How to give error feedback during a drag operation?

I am trying to give some visual feedback to the user during a drag/drop operation. The feedback I'm struggling with is in the case where the drag target is somehow invalid for the type of data being dragged. I'd like there to be some feedback (during the drag) which displays a small message as to why the drag would be invalid. I am tr...

What's the simplest way to embed (new) file information in a drag?

I want users to be able to drag elements from my program onto the desktop to create files from them. What's the simplest way to embed this information into a DataObject so explorer will accept drops and create the appropriate file(s)? My experience with drag and drop is limited, and so far the only way I can think of is to actually crea...

Not getting DragEnter/Over, Drop events in silverlight 4 app

I'm dragging UserControl objects from one Canvas to another with the intention of dropping there. When mousing over the destination, the dragged object actually goes under it. I get no DragEnter, DragOver or DragLeave events. If I drop the object there, I get no Drop event. My root object is a border, then a grid. The grid covers th...

How do I detect if a drag operation was cancelled using NSDraggingInfo or similar?

I've created a subclass of NSImageView and implemented the informal protocol for dragging images between other instances of the same class. I am keeping a reference to the image of the view prior to the dragging operation and am able to set it back to said image given certain criteria. However, I can't seem to detect if the dragging ope...

Drop items into specific group in a listview

I'm trying to drag an item between two Groups in the same ListView called 'listTasks'. Private Sub listTasks_ItemDrag(ByVal sender As Object, ByVal e As ItemDragEventArgs) Handles listTasks.ItemDrag listTasks.DoDragDrop(listTasks.SelectedItems, DragDropEffects.Move) End Sub Private Sub listTasks_DragEnter(ByVal sender As Object, By...

Problem with SIngle and Double click events in canvas

Hi, I have a Canvas which is present in a usercontrol, I have attached the DoubleClick event to this user control like this mainWindow.CanvasLayout.MouseDoubleClick += new MouseButtonEventHandler(CanvasLayout_MouseDoubleClick); I am usign this event handler to achieve fullscreen functionality. Now, canvas can have various controls...

Make caption icon become drag source like explorer window

I made an editor which written in pure WinAPI. Some users want the caption icon become a drag source of the file that opened in editor, like what the explorer window does. I have no idea to implement such feature. Can someone give me example please? ...

Problem with drag and drop in a C# Windows application

I am creating a Windows application for a restaurant. I want to provide functionality for floor management, so I've created some classes such as table, chair, etc. The restaurant owner arranges the tables and chairs according to [ourself]. How can Drag'n'Drop [object like button in a panel and after drag it position arrange.. abd save.] ...

NSView Not updating?

Hello, Im working on a drag n' drop view and found some handlers for drag and drop actions on the web. I want to make it so it turns blue when the user drags a file over the drag and drop area and gray again when they exit the drag and drop area. The issues is its not updating when you drag your mouse over it or exit it. Heres some of t...

Silverlight: Determine which control initiated drag'n'drop

Using the drag'n'drop features of the Silverlight 4 Toolkit, I have a drag'n'drop enabled Listbox where each ListboxItem can be dragged/reordered up and down. Each ListboxItem contains several controls (TextBlocks, TextBoxes and Buttons) and my problem is that when I click the buttons within a ListboxItem, I will occasionally initiate a...

Simple drag and drop application not working

Hi all, I am trying a simple drag and drop application: I am creating a CameraIconView (subclass of NSView, containing some image views, text fields and a pop-up button), at run time. This view is enclosed within CameraIconEnclosingBox (subclass of NSBox) Requirement is: user should be able to drag CameraIconView at some other locatio...

drag and drop workflow kind of interface..how easy to develop?

Hi friends, How easy it's to come up with a drag and drop web-based interface that'll provide me features to wire objects together, setup configurations nicely in a modal window for each object? I'm looking for links that've any similar kind of interface, or articles on this. also, i'm looking for your technology/language suggestions. ...

JQuery Draggable + Sortable: How to tell if item was actually added to my sortable list?

OK, I'm probably missing something obvious here, but my searches aren't turning up anything helpful. I've set up a sortable list and connected a draggable "palette list" to it, as explained here: http://jqueryui.com/demos/draggable/#sortable I can drag items from my draggable list and drop them on my sortable list. That works fine. I...

How can i get Mapkit documentation short and simple to do my current position responds a DragAndDrop events

How can i get Mapkit documentation short and simple to do my current position responds a DragAndDrop events ...

Exception in mouseDown method

Hi all, I am doing drag and drop with NSView. In the object to be dragged, which is subclass of NSView, I implemented mouseDown: method as follows: @try { NSPoint location; NSSize size ; NSPasteboard *pb = [NSPasteboard pasteboardWithName:@"CameraIconContainer"]; location.x = ([self bounds].size.width - size.width)/...

drag an email from thunderbird into a ListView

I'm trying to drag an email from Thunderbird into my Window. If I drag the mail into Desktop, Windows create a file with .eml extension. If I drag into my software, DataObject contains the following: Format: application/x-moz-file-promise-url MemoryStream: news://aioe.org/1jlkokt.1c9t0vz1nl7jtqN%25sapo68%40gmail.com?group=it.comp.os....

Unable to drag using image within anchor link in Chrome or IE

This is going to be fairly hard to explain, so I've put together a JsFiddle to help demonstrate. http://jsfiddle.net/j5TKr/ I've tried to include everything that I require without complicating it too much. The overall aim is to have a list of li's which can be selected (single click, ctrl-click, shift-click) or double-clicked to be open...

Drag from JQGrid to jsTree v.0.9.9a

Hi, I'm looking to drag a row from the JQGrid i've created and fire a drop event on a node in the jsTree (v.0.9.9a). Is there anyway to do this - using v.0.9.9a of the jsTree only. Regards. ...