• 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: Non-square (triangular) views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-square (triangular) views


  • Subject: Re: Non-square (triangular) views
  • From: Erik Buck <email@hidden>
  • Date: Thu, 16 Nov 2006 15:02:58 -0800 (PST)

All NSViews are rectangular.  However, the portion of a view that is sensitive to the mouse can be any shape you want.  See -hitTest:

  Be careful because sibling views can not be reliably overlapped.  If your views never draw in the overlapping portions, you may be OK, but you are outside normal framework usage patterns.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Non-square (triangular) views
      • From: Rosyna <email@hidden>
  • Prev by Date: Re: Non-square (triangular) views
  • Next by Date: Core Recipes Sample Core Data Program
  • Previous by thread: Re: Non-square (triangular) views
  • Next by thread: Re: Non-square (triangular) views
  • Index(es):
    • Date
    • Thread