Questions tagged [oledragdrop]
18 questions
10
votes
2 answers
HTML 5 drag and Drop email from outlook
I am working on a Ember.JS based application with HTML 5 drag and drop file upload. I have came across a requirement where user wants to upload outlook emails using Drag and Drop. It seems that JavaScript can not recognize outlook messages as…

akashpandey
- 177
- 1
- 11
2
votes
1 answer
How to get image from vb6 MSFlexGrid OLEDragDrop event
I have a VB project that is converted from VB6 to VB.NET.
In this, I have a MSFlexGrid that is used as an interop compatibiliy. That means it is somewhat converted to .NET, but internally, many of the mechanisms are still from VB6/COM.
I need to…

awe
- 21,938
- 6
- 78
- 91
2
votes
1 answer
Drag/drop files between explorer windows on windows 7
This is a kind of a complex query as it look it from outside. I would like to get notification about any drag/drop operation performed in windows explorer with exact number of files being dragged from source to target folder.
I have tried…

user2571913
- 21
- 2
1
vote
0 answers
Can we show the caret cursor as we drop files onto the CEdit control of a CDialogEx?
I have a OnDropFiles handler for a CDialogEx:
void CWeekendMeetingDlg::OnDropFiles(HDROP hDropInfo)
{
__super::OnDropFiles(hDropInfo);
// ...
}
Example in action:
Is it possible to adjust it so that when the cursor is over the CEdit…

Andrew Truckle
- 17,769
- 16
- 66
- 164
1
vote
2 answers
Disable Drag&Drop of files in Richtextbox in .NET
I use a .NET richtextbox and I want to have the EnableAutoDragDrop property set to True. This allows user to drag&drop text, rtf and images around etc.
However, I need to process files dropped into the richtextbox myself - I do not want them to be…

Jiri
- 264
- 4
- 17
1
vote
2 answers
Drag and Drop External File onto VB6 ListView Control
I am trying to drop an external file (from windows file explorer) onto a ListView control. I have done this before but can't seem to get the events to fire.
My steps are as follows:
Create a ListView Control
Set the View property to 3 -…

Matt Wilko
- 26,994
- 10
- 93
- 143
0
votes
0 answers
How let parent window handle OleDragDrop messages if the child window can't handle them?
I have a parent view (:CView) which hosts several components (: CWnd).
Components have a COleDropTarget member which gets registerd during control creation. Up to here, all works fine.
I have then added and registered an COleDropTarget in the…

ekt
- 129
- 2
- 11
0
votes
1 answer
Implementing Drop on Picturebox on Form
I seem unable to make it so that I can drop a file from the desktop to a PictureBox on a Form.
I went through all the docs I could find, but anyways the cursor always stays a stop sign.
What I did was:
Set the Form's "AllowDrop" to True.
In my code…

tmighty
- 10,734
- 21
- 104
- 218
0
votes
1 answer
Can I get a destination/target of a DoDragDrop call?
I have a WPF application. I want to allow users to drag and drop "files" (or their visual representation) from my WPF windows to the real Windows explorer.
This I managed to do by using the native DoDragDrop from Ole32.dll
[DllImport("ole32.dll",…

Maverick Meerkat
- 5,737
- 3
- 47
- 66
0
votes
1 answer
Enabling dropping of custom object into a usercontrol
I've created a usercontrol with VS2017 in VB.NET.
Dropping a file from the desktop works fine, but I want to drop a custom object (a cell from a 3rd party grid control) onto it, which doesn't work.
How can I implement such a drop in my…

tmighty
- 10,734
- 21
- 104
- 218
0
votes
1 answer
how to get information of a mail Item which is being dragged on Outlook 2007
My requirement is to get details about the items which are being dragged from outlook 2007.
I have used a windows API to register drag drop event on Outlook 2007 as following ...
(public static extern int RegisterDragDrop(IntPtr hwnd,…

Nilaksha Perera
- 715
- 2
- 12
- 36
0
votes
1 answer
HTML5 Drag&Drop - Event handling with jQuery
So I've stumbled upon this a several times and now I'm finally fed up with this topic. Searching and googleing about it confuses me every time and now I'll need to ask by myself here.
I'm up to implement native HTML5 drag&drop in a web app. It…

Ahab
- 676
- 1
- 7
- 15
0
votes
0 answers
How to release the mouse after calling DoDragDrop
I wrote a demo containing a TListView (m_ListView). It shows my files on the D:\ drive. If I drag a TListItem in m_ListView and drop it on the E:\ drive, the selected file will be copied to E:\. This works well, but something is wrong with the end…

Alfred Chen
- 179
- 3
- 13
0
votes
0 answers
C++ Unable to get Async DragDrop functioning correctly
We currently have a Silverlight UI (which we are unable to change from at this stage) for our system, which has very limited drag drop capabilities. We are currently running out of browser with elevated trust. So in order to handle Silverlight's…

Matt
- 1
- 3
0
votes
0 answers
Drag link from Internet Explorer to Windows Application
I'm trying to implement dragging of link urls from webbrowsers to a Win32 application. It works fine using Firefox and Google Chrome, the link shows up as text in my IDataObject structure. But when dragging a link from Internet Explorer it seems to…

Viktor Sehr
- 12,825
- 5
- 58
- 90