Is it possible to prevent drag and drop between the windows desktop and the WebBrowser? If not, I suggest it as a future enhancement.
With the current API, there is no way for that. Could you state your case why you want to prevent it ?
And I'd appreciate it if you fire an issue with type "ENHANCEMENT":
Thanks for your response.
The case I'm in is that I'm porting a web-based application to become a standalone, CD application. The idea is to run a Java-based webserver (e.g. Jetty) and the browser both in the same runtime to be able to start and stop them when I want. To the end user, it should appear to be a standalone application.
I understand, and saw your reported issue, thanks !
I'll take a look at it.
Hi George ,
I also wanted to disable drag and drop feature in my IE. So i tried it by modifying the 'ie' VC++ project.
I tried following ,but it didnt solved by issue.Could you please guide me on this?
void BrowserWindow::CreateChildBrowserWindow(IDispatch **ppDisp)
I was able to fix this drag and drop thing.But not in Java.By changing IeEmbed VC++ project.
In BrowserWindow.cpp SetReady method ,add line
ie method looks like this:
void BrowserWindow::SetReady(int pInsNum)
initialized = true;
m_InstanceID = pInsNum;
then recompile the project.Now Drag n Drop is disabled in JDIC Explorer Window
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.