Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » DND support for SWT browser
DND support for SWT browser [message #446032] Tue, 16 November 2004 12:59
Thomas Kriechbaum is currently offline Thomas KriechbaumFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

how to implement a drop target for the SWT browser widget? Taking a
Browser instance as parameter to the DropTarget constructor causes no
notification of any registered drop listeners.


Browser browser = new Browser(parent, SWT.NONE);
....
int operations = DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_DEFAULT;
DropTarget target = new DropTarget(browser, operations);
target.setTransfer(...)
DropTargetListener listener = ...;
target.addDropListener(listener);


Is it necessary to register any listeners at the wrapped OLE control?

Thanks,
Thomas
Previous Topic:how to set FileDialog's fileFilter?
Next Topic:plz help:java in eclipse view
Goto Forum:
  


Current Time: Sun Oct 25 16:56:28 GMT 2020

Powered by FUDForum. Page generated in 0.01426 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top