• 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: Fullscreen code not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fullscreen code not working


  • Subject: Re: Fullscreen code not working
  • From: Cameron Hayne <email@hidden>
  • Date: Sun, 5 Jun 2005 12:25:04 -0400

On 5-Jun-05, at 11:40 AM, rfitz wrote:
the user clicks the close button this code is executed:
    set theWindow to (call method "endFullScreen")
The fullscreen window closes, but then after about 1 or 2 seconds my
program crashes.

Your 'endFullScreen' method is void - so it doesn't return a window. Thus the above invocation does not seem good. But if the app is crashing, can't you run in the debugger to find out where & why it is crashing?


And I note that you need to do some cleanup in endFullScreen as otherwise you are leaking memory - e.g. for the allocated 'fsWindow'.

--
Cameron Hayne
email@hidden


_______________________________________________ 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: Fullscreen code not working
      • From: rfitz <email@hidden>
References: 
 >Fullscreen code not working (From: rfitz <email@hidden>)

  • Prev by Date: Re: [NSDrawer] Why isn't my default button blue+pulsing?
  • Next by Date: ISync Plug-in
  • Previous by thread: Fullscreen code not working
  • Next by thread: Re: Fullscreen code not working
  • Index(es):
    • Date
    • Thread