• 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: Cocoa controls on top of an OpenGL view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa controls on top of an OpenGL view


  • Subject: Re: Cocoa controls on top of an OpenGL view
  • From: Ian was here <email@hidden>
  • Date: Sun, 3 Jun 2007 11:39:27 -0700 (PDT)

The only way I know of in Cocoa is to create a
transparent window with your cocoa controls on it and
add it as a child window above your OpenGL window.
I've done something similar to this and it worked out
OK.




--- John Stiles <email@hidden> wrote:

> Is there a recommended way to float Cocoa controls
> on top of an
> NSOpenGLView?
>
> In Carbon, we were able to do this by creating one
> window which
> contained an AGL surface, and then a separate Carbon
> window. We
> "combined" the two windows with window groups and
> the visual effect worked.
>
> I'd be OK with this but I don't know if there is a
> Cocoa equivalent to
> window groups, and if there is a simpler way, I'd
> like to know more. I
> do know that, in general, Cocoa does not support
> Z-ordering for
> controls, so that seems like a potential stumbling
> block.
>
> _______________________________________________
>
> 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
>




____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
_______________________________________________

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

  • Follow-Ups:
    • Re: Cocoa controls on top of an OpenGL view
      • From: John Stiles <email@hidden>
References: 
 >Cocoa controls on top of an OpenGL view (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Cocoa controls on top of an OpenGL view
  • Next by Date: Re: Cocoa controls on top of an OpenGL view
  • Previous by thread: Re: Cocoa controls on top of an OpenGL view
  • Next by thread: Re: Cocoa controls on top of an OpenGL view
  • Index(es):
    • Date
    • Thread