• 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: changes to NSView's frame in its window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changes to NSView's frame in its window


  • Subject: Re: changes to NSView's frame in its window
  • From: Michael Ash <email@hidden>
  • Date: Wed, 23 Jun 2010 15:38:05 -0400

On Wed, Jun 23, 2010 at 1:33 PM, Alexander Cohen <email@hidden> wrote:
> Hello,
>
> I have a view in an NSScrollView's document view that has a small child window attached to it, meaning the window follows that view wherever it goes. But when i scroll the scrollview, not much changes for that view. So i'm wondering if there is anyway to get changes to a views "global" frame. If i'm missing something obvious, please do tell.

This is not exactly what it's intended for, but if you override
-resetCursorRects, it'll be called any time your view moves within its
window.

Mike
_______________________________________________

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: changes to NSView's frame in its window
      • From: Alexander Cohen <email@hidden>
References: 
 >changes to NSView's frame in its window (From: Alexander Cohen <email@hidden>)

  • Prev by Date: Re: iOS4: UDP sockets in the background
  • Next by Date: Re: Memory management on returning nil in init
  • Previous by thread: Re: changes to NSView's frame in its window
  • Next by thread: Re: changes to NSView's frame in its window
  • Index(es):
    • Date
    • Thread