• 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
How to detect if mouse on border of view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to detect if mouse on border of view


  • Subject: How to detect if mouse on border of view
  • From: "Mazen M. Abdel-Rahman" <email@hidden>
  • Date: Thu, 18 Feb 2010 21:44:27 -0700

Hi All,

I was wondering if there is a straight forward away to know if the mouse is on the border of a view?  I know how to detect if the mouse enters a view area by using NSTrackingArea - but how can I tell if the mouse is on a border?  I would like to replicate iCal's behavior where a user can modify an event on the calendar by clicking on the edge of the appt. rectangle and dragging it.

Thanks,
Mazen
_______________________________________________

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

  • Follow-Ups:
    • Re: How to detect if mouse on border of view
      • From: Steve Christensen <email@hidden>
    • Re: How to detect if mouse on border of view
      • From: Jens Alfke <email@hidden>
    • Re: How to detect if mouse on border of view
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: close: before NSWindowWillCloseNotification
  • Next by Date: Re: How to detect if mouse on border of view
  • Previous by thread: Re: close: before NSWindowWillCloseNotification
  • Next by thread: Re: How to detect if mouse on border of view
  • Index(es):
    • Date
    • Thread