View previous topic :: View next topic |
Author |
Message |
bobef
Joined: 05 Jun 2005 Posts: 269
|
Posted: Sat Dec 24, 2005 11:21 am Post subject: DND |
|
|
The docs says the DRAG_DROP is not completed. What is this? dwt.dnd.*? I saw there is allot of source. I will ask directly - can I DND tree items and DND from explorer? |
|
Back to top |
|
|
qbert
Joined: 30 Mar 2004 Posts: 209 Location: Dallas, Texas
|
Posted: Sat Dec 24, 2005 4:54 pm Post subject: Re: DND |
|
|
bobef wrote: | The docs says the DRAG_DROP is not completed. What is this? dwt.dnd.*? I saw there is allot of source. I will ask directly - can I DND tree items and DND from explorer? |
I doubt it , especially since this isnt even allowed in SWT ( a very weird limitation if you ask me ,try to drag anything on to eclipse from the windows explorer ). |
|
Back to top |
|
|
bobef
Joined: 05 Jun 2005 Posts: 269
|
Posted: Sun Dec 25, 2005 2:48 am Post subject: |
|
|
This sucks big time. I was testing DWT yesterday and the other thing that amazed me is that you have to recreate a widget to change its styles. Sick java guys.... Anyway.
Then what about the tree items within a DWT tree? Can I drag them? |
|
Back to top |
|
|
Shawn Liu
Joined: 09 Mar 2005 Posts: 104 Location: Shanghai, China
|
Posted: Sun Dec 25, 2005 5:29 am Post subject: |
|
|
Java/SWT supports drag-drop inside. I mean that DND is available between widgets inside SWT, but not for Winodows Explorer or Shell.
I will try to make DND available for DWT. This may need some time. |
|
Back to top |
|
|
bobef
Joined: 05 Jun 2005 Posts: 269
|
Posted: Sun Dec 25, 2005 6:45 am Post subject: |
|
|
Code: | I will try to make DND available for DWT. This may need some time. |
I believe a shell listner for WM_DROPFILES would be better than nothing and maybe it wont be so hard to implement. And maybe something about DDE |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sun Dec 25, 2005 11:29 am Post subject: |
|
|
Adding DND between OS and DWT will make it difficult, I think, for cross-platform support. It may be possible to make that work, but it will be challenging to make it work the same way on DWT-GTK/Linux (maybe?). Perhaps a consistant non-platform dependent interface is still possible, though?
-JJR |
|
Back to top |
|
|
bobef
Joined: 05 Jun 2005 Posts: 269
|
Posted: Sun Dec 25, 2005 2:25 pm Post subject: |
|
|
Well as much as I used linux/gtk there is full DND support. I don't know about DDE but I am sure there is way to do it. But if there is not I believe it is better to have this only uner windows than not having it all. |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Mon Dec 26, 2005 12:03 am Post subject: |
|
|
You are right. It looks like SWT-GTK fully supports drag and drop to the desktop on Linux. I tested this out in Eclipse. That's good to know. I agree windows should have this ability also.
-JJR |
|
Back to top |
|
|
|