forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Dragdrop and Dialog Cursor?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Dec 17, 2004 4:28 am    Post subject: Dragdrop and Dialog Cursor? Reply with quote

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
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Dec 17, 2004 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Dec 17, 2004 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Dec 17, 2004 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Dec 17, 2004 4:27 pm    Post subject: Reply with quote

See if this helps

http://garrett.vdsworld.com/vds4.html#GT-DragItemList2List

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Dec 17, 2004 6:24 pm    Post subject: Reply with quote

Hi Garrett,

Some pretty cool stuff. Not exactly what I am looking for, but definitely useful in other situations. Cool

Thanks,

- Boo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group