Re: How to draw a rectangle around a (graph) view?
Re: How to draw a rectangle around a (graph) view?
- Subject: Re: How to draw a rectangle around a (graph) view?
- From: "Arthur C." <email@hidden>
- Date: Fri, 25 May 2007 20:44:18 +0200
From: "I. Savant" <email@hidden>
To: "Arthur C." <email@hidden>
CC: email@hidden
Subject: Re: How to draw a rectangle around a (graph) view?
Date: Fri, 25 May 2007 12:01:49 -0400
On 5/25/07, Arthur C. <email@hidden> wrote:
That would be a good idea, but still the question is how to catch the
event
in the first place. How would that be done?
If I'm interpreting this thread correctly, you've got a transparent
overlay window atop these graph views. Correct?
If so, you'd catch the event in whatever overlay view you're using
in your transparent window and deal with it as necessary.
If not (ie, I've misinterpreted), clarify, please. :-)
That's right, but that case is already handled. What I do is use something
like
[myOverlayWindow setNextResponder: self]
from within the graph view code. Then I can take whatever action is needed
from the mouseDown method.
But there is another case when the user clicks outside the graph view
regions and outside the overlay window(s), but still within the app window.
Can I use the same procedure without messing things up, like the responder
chain etc.? What I'm looking for is something general, such as a
notification that gets posted on all events, but I haven't been able to find
it...
Best regards,
Arthur C.
--
I.S.
_________________________________________________________________
Live Search, for accurate results! http://www.live.nl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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