News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
drag 'n drop from external applications?
Author Message
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #1
RE: drag 'n drop from external applications?

Weird ... I thought I had replied to this ...

I am pretty sure I know why it is not working, the DND events are probably being discarded (although they are definitely fired). If you create a window with a entry field you will see that you can drag anything to it, and then you could have a timer that checks if it's value has changed (I'll post an example in a second).

As far as trapping the DND_* (and other system events), I have implemented the event handler callback, which allows you to create a callback that responds to all events not being trapped elsewhere (including system/X events). I haven't had a chance to test this with DND events yet, but it'll should allow you to write more sensible code for these cases.

I'll push it out with the next build (hopefully this weekend).

Cheers
JohnM

07-17-2008 10:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
RE: drag 'n drop from external applications? - JohnMurga - 07-17-2008 10:22 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: