• 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 and layers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView and layers?


  • Subject: Re: NSView and layers?
  • From: john <email@hidden>
  • Date: Mon, 24 Oct 2005 17:08:44 -0400

Hi Ricky,

Yes, the overlay windows are what is in the GLChildWindowDemo. My main issue with that is this:

When you scroll in the underlying view, how can you update the overlay window/view to make it look like its contents are part of the underlying view?

The only way I could think of is to manually set the NSScrollView's NSScroller and monitor the setFloatValue: method. Then call whatever class that needs to know, which would then check the visible rect and update the overlay window accordingly.

But what a hack, surely there must be a better way?

-- John


Try looking into using an overlay window.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com
_______________________________________________
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: NSView and layers?
      • From: Ricky Sharp <email@hidden>
References: 
 >NSView and layers? (From: john <email@hidden>)
 >Re: NSView and layers? (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Calling GetCurrentEventKeyModifiers in a Cocoa app
  • Next by Date: Re: Strange behavior of stringWithFormat and accented characters
  • Previous by thread: Re: NSView and layers?
  • Next by thread: Re: NSView and layers?
  • Index(es):
    • Date
    • Thread