Re: View Getting MouseUp Without Corresponding MouseDown

2008-04-29 Thread Peter Zegelin
Thanks for that - makes sense I guess! Peter On 29/04/2008, at 2:26 PM, Rob Petrovec wrote: FYI, same thing happens in Carbon. Its technically a feature for Drag support. --Rob On Apr 28, 2008, at 8:51 PM, Peter Zegelin wrote: Hi Graham, I don't think so as they are my own rulers - I'm

Re: View Getting MouseUp Without Corresponding MouseDown

2008-04-28 Thread Rob Petrovec
FYI, same thing happens in Carbon. Its technically a feature for Drag support. --Rob On Apr 28, 2008, at 8:51 PM, Peter Zegelin wrote: Hi Graham, I don't think so as they are my own rulers - I'm not using NSRulerView. I wasn't even going to mention the rulers! They are just custom sibl

Re: View Getting MouseUp Without Corresponding MouseDown

2008-04-28 Thread Peter Zegelin
Hi Graham, I don't think so as they are my own rulers - I'm not using NSRulerView. I wasn't even going to mention the rulers! They are just custom sibling views. It's just weird that I can mousedown in one sibling and get a mouseup in another if the mouse happens to be over it on release.

Re: View Getting MouseUp Without Corresponding MouseDown

2008-04-28 Thread Graham Cox
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