OS Interaction
Roman Gelfand <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.seamonkey |
|---|---|
| Message-ID | <CAJbW+rkz8Ok=bgK8Ldf7cx0yWwvXYvAZyk22XaQZ_DqL3cnJvw@mail.gmail.com> |
I would like to implement outlook attachment drag and drop functionality. I have done it using activex control. But that works well in ie. I was wondering if there is a way to do it in firefox. The way it works in ie is 1. Instantiate IDropTarget interface 2. Register object's hwnd with IDropTarget interface 3. Retrieve dragged file data using IDataObject. 4. Return property containing file's byte array. 5. Fire an event to javascript.