Re: View Getting MouseUp Without Corresponding MouseDown
Re: View Getting MouseUp Without Corresponding MouseDown
- Subject: Re: View Getting MouseUp Without Corresponding MouseDown
- From: Graham Cox <email@hidden>
- Date: Tue, 29 Apr 2008 13:43:07 +1000
Peter, could it be because of:
- (void)rulerView:(NSRulerView *)aRulerView handleMouseDown:(NSEvent
*)theEvent;
??
G.
On 29 Apr 2008, at 12:05 pm, Peter Zegelin wrote:
I have a view that creates a 'Tool' on MouseDown and then releases
it on MouseUp. This view also has siblings (my own rulers) that are
hidden and shown under user control. When the rulers are shown the
tool creating view gets shifted to accommodate the ruler views.
I have noticed that when the rulers are on I can get a MouseDrag and
MouseUp event in my tool view if I MouseDown in the rulers and then
drag and release in the other view. Is this normal or am I doing
something wrong?
NOTE: I have noticed that if I implement a (empty) MouseUp in my
ruler view I don't get the message in my other view so its not
really a problem - I just want to make sure nothing is wrong.
thanks!
Peter Zegelin
www.fracturedSoftware.com - MIDI for your Mac
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden