• 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 and full-screen GL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa and full-screen GL


  • Subject: Re: Cocoa and full-screen GL
  • From: Guy English <email@hidden>
  • Date: Mon, 31 Jan 2005 21:15:51 -0500

Hi John,

On Mon, 31 Jan 2005 17:48:25 -0800, John Stiles <email@hidden> wrote:
> 3 - The other demos I've found that enter fullscreen mode will run
> their own event loop with, say, a while around [NSApp
> nextEventMatchingMask:NSAnyEventMask…].
> [snip] For example, command keys are no
> longer processed AFAICS (maybe I need to propagate events I'm not
> explicitly handling, but I don't know how to do this).

This is what I do in my code. If you don't like the event you can have
NSApplication send it down the responder chain by calling [NSApp
sendEvent: event]; I check [event window] against the window with my
GL context in it and pass it down the responder chain if it's not for
me.

Hope that helps,
Guy
 _______________________________________________
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: Cocoa and full-screen GL
      • From: John Stiles <email@hidden>
References: 
 >Cocoa and full-screen GL (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Question on a good database...
  • Next by Date: NSOutlineView validateDrop Flips Values
  • Previous by thread: Cocoa and full-screen GL
  • Next by thread: Re: Cocoa and full-screen GL
  • Index(es):
    • Date
    • Thread