• 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: NSView's origin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView's origin


  • Subject: Re: NSView's origin
  • From: Scott Stevenson <email@hidden>
  • Date: Sun, 26 Nov 2006 18:21:25 -0800


On Nov 26, 2006, at 6:01 PM, Aaron Boothello wrote:

one window..... 4 NSOpenGLViews positioned with a space in between them all. ideally i would like this space to remain fixed (ie: not grow/shrink when the window is resized). Spring and struts just dont seem to be able to provide that.

How about RBSplitView? http://www.brockerhoff.net/src/rbs.html

If you really, really, really want to find your location in the window (I think it's just busy work), you might be able to do it by getting the window's content view and using one of the following:

- convertPoint:fromView:
- convertPoint:toView:

Feed it {0,0} as input.


Hope that helps,

    - Scott
_______________________________________________

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


References: 
 >NSView's origin (From: Aaron Boothello <email@hidden>)
 >Re: NSView's origin (From: Shawn Erickson <email@hidden>)
 >Re: NSView's origin (From: Aaron Boothello <email@hidden>)

  • Prev by Date: Re: NSView's origin
  • Next by Date: Re: NSView's origin
  • Previous by thread: Re: NSView's origin
  • Next by thread: Re: NSView's origin
  • Index(es):
    • Date
    • Thread