• 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: Window levels - is this safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window levels - is this safe?


  • Subject: Re: Window levels - is this safe?
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 26 Jul 2006 13:07:33 -0500

On Wednesday, July 26, 2006, at 08:13AM, Keith Blount <email@hidden> wrote:

>Many thanks for your reply - much appreciated. I think
>your suggestion may well be the way to go. Full screen
>in my app is supposed to be a "no distractions" mode,
>so blocking application switching and Expose may
>actually be a bonus rather than a problem.
>
>My only problem now is that I do not have access to a
>dual- or multi-screen set up for the time being, so
>although I can have a go at coding the blanking
>screens, I'll have to rely on my beta testers to tell
>me whether or not it works. :) My plan is to create
>the blanking windows in the -showWindow: code of my
>main window, and then add the main window as s child,
>and get rid of all the blanking windows in the -close
>method. I can then monitor for
>NSApplicationDidChangeScreenParametersNotification and
>update the blanking windows as necessary. Does that
>sound about right?

That does sound good.  For my app, I set up all windows in applicationDidFinishLaunching and then tear them down in applicationWillTerminate.  But your approach should yield them same results.

I don't currently handle updates via that screen changed notification.  Hmm, I guess I'll do that :)

Oh, one thing to point out.  My app, although full-screen, can switch out to a web browser since one of my "screens" contains a hyperlink.  I set up my windows to autohide when not frontmost, so my app effectively hides itself when this is done.  I suppose users could, at that time, make changes to displays such that switching back to my app would cause grief since blanking windows would not be positioned or sized correctly.

--
Rick Sharp
Instant Interactive(tm)
 _______________________________________________
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: Window levels - is this safe?
      • From: Keith Blount <email@hidden>
References: 
 >Re: Window levels - is this safe? (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: Document not opened at launch?
  • Next by Date: Capture WebView in a NSImage
  • Previous by thread: Re: Window levels - is this safe?
  • Next by thread: Re: Window levels - is this safe?
  • Index(es):
    • Date
    • Thread