| View previous topic :: View next topic |
| Author |
Message |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 17, 2004 4:28 am Post subject: Dragdrop and Dialog Cursor? |
|
|
Hi Guys,
Anyone know of a good way to show the dragdrop cursor, when dragging a file onto a dialog, only when over a specific list element? (That is, and therefore showing the Nodrop cursor when not over the correct list.)
I am familiar with mouseover events, the Dialog Cursor command, and the Dragdrop style. However, when dragging a file, the dragdrop cursor remains visible even when implementing a Dialog Cursor change to the Nodrop cursor.
I will play around with some other ideas (including API), but has anyone conquered this already? No need to reinvent the wheel, eh?
Thanks,
- Boo |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Dec 17, 2004 8:53 am Post subject: |
|
|
In VDS, if dragdrop is enabled it applies to the whole window. So you're going to get a dragdrop event if you drop anywhere on the window, regardless of what the cursor shows. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 17, 2004 1:40 pm Post subject: |
|
|
Hi Jules,
Yeppers, that is what I figured. I attempted a few trys, but to no avail. I was hoping to implement it per my previous post (which is the way most programs do it), but I suppose this is not possible.
Any chance of making this possible in the upcoming update?
Thanks,
- Boo |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Dec 17, 2004 4:02 pm Post subject: |
|
|
It might be possible to make it work for an element instead of the whole window.
Drag and drop is really quite a difficult thing to implement as there are all kinds of things that you might want to drop, and you realy need to have the power of a lower level language to deal with that. VDS only handles files dragged from Explorer, and it was implemeted at the window level to make it simpler for people. It would be nice to be able to drop other stuff, like text snippets from MS Word, and even drag and drop between different dialog elements, but I don't know at this point if it would be possible to implement that in a simple generic way. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 17, 2004 6:24 pm Post subject: |
|
|
Hi Garrett,
Some pretty cool stuff. Not exactly what I am looking for, but definitely useful in other situations.
Thanks,
- Boo |
|
| Back to top |
|
 |
|