Need more help with mouse input....
Need more help with mouse input....
- Subject: Need more help with mouse input....
- From: "Brian O'Brien" <email@hidden>
- Date: Wed, 20 Apr 2005 12:45:07 -0600
I have a NSView subclass called mySuperView within that view I have
subviews of mySubView which is a subclass of NSImageView...
In mySuperView I receive right mouse events, scroll wheel events and I
pass these events to each of mySubView instances.
(and it doesn't matter where the mouse is located)
However I am unable to do the same with the left mouse button events.
It seems that left mouse input depends on where you click.
ie. the object you click on is the one that receives mouse input.
(seems logical enough) However mySuperView needs to know that
one of its mySubViews got the input and handled it. So how do I do
this? I had thought that maybe I could define a method in MySuperView
the mySubView would call to say that it got and handled the event. But
is the way apple envisioned that things would be done or perhaps
I've missed something in the documentation?
Cheers,
B.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden