Re: Drag and Drop Oddities
Re: Drag and Drop Oddities
- Subject: Re: Drag and Drop Oddities
- From: Jason Harris <email@hidden>
- Date: Wed, 12 Jun 2002 00:26:58 -0700
I've seen this before. It occurs when overriding mouseDown to receive an
event and then starting periodic events to determine whether to begin a drag
even if the user hasn't moved the mouse. You send locationInWindow to the
periodic event and this is what you see, because locationInWindow is only
defined for mouse events.
Jason
Hsu Tried to Tell Me:
>
I've not seen this in XShelf (which is based directly on code from Apple
>
source archives and Hillegass' book)... drag/drop seems to work fine
>
(and it's thus far all Cocoa, no Carbon)
>
>
Karl
>
>
On Tuesday, June 11, 2002, at 11:39 AM, John Anderson wrote:
>
>
> I've seen the exact same problem. Hate to post a "me too" here but I
>
> thought you'd like to know that someone feels your pain :-)
>
>
>
> John
>
>
>
>
>
> On Monday, June 10, 2002, at 09:02 PM, Lucas Haley wrote:
>
>
>
>> Heya all --
>
>>
>
>> I've just delved into drag and drop, and things are going well.
>
>> However, whenever I begin my drag, the app stalls a little, and the
>
>> image quickly jumps once from the top left of the monitor to the mouse
>
>> position. Has anyone else encountered this? I am using code almost
>
>> exclusively lifted from Hillegass and the Apple source code archives.
>
>>
>
>> Also: is it not possible in IB to make a matrix out of a custom view?
>
>>
>
>> Thanks for any help!
>
>>
>
>> -Lucas
>
>> _______________________________________________
>
>> cocoa-dev mailing list | email@hidden
>
>> Help/Unsubscribe/Archives:
>
>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
>> Do not post admin requests to the list. They will be ignored.
>
> _______________________________________________
>
> cocoa-dev mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
> Do not post admin requests to the list. They will be ignored.
>
>
>
>
>
--
>
>
Attention pregnant women: Anybody who talks to their own stomach is
>
crazy.
>
>
Homepage:
>
http://homepage.mac.com/khsu/index.html
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.