• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to draw a rectangle around a (graph) view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to draw a rectangle around a (graph) view?
      • From: "I. Savant" <email@hidden>
References: 
 >Re: How to draw a rectangle around a (graph) view? (From: "I. Savant" <email@hidden>)

  • Prev by Date: [ANN]: DSClickableURLTextField updated
  • Next by Date: Re: Problem Displaying a Sheet During Drag-and-Drop (SOLVED)
  • Previous by thread: Re: How to draw a rectangle around a (graph) view?
  • Next by thread: Re: How to draw a rectangle around a (graph) view?
  • Index(es):
    • Date
    • Thread