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

Re: Cocoa, full-screen mode, and windows


  • Subject: Re: Cocoa, full-screen mode, and windows
  • From: Peter Maurer <email@hidden>
  • Date: Mon, 14 Feb 2005 20:38:36 +0100

NSRect windowFrame = [glWindow frameRectForContentRect:NSMakeRect( 0, 0, newWidth, newHeight )];
[glWindow setFrame:windowFrame display:NO];


But the window moves to the wrong place—it's always too high or too low. (Horizontally, it seems OK.)

Does your application eat system-defined NSEvents? I've had similar problems once, and it took me ages to find out they were caused by my NSApplication subclass, which failed to send those events to super.


Peter.
_______________________________________________
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, full-screen mode, and windows
      • From: John Stiles <email@hidden>
References: 
 >Cocoa, full-screen mode, and windows (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Synchronising views within an enclosing scroll view
  • Next by Date: Re: Cocoa, full-screen mode, and windows
  • Previous by thread: Re: Cocoa, full-screen mode, and windows
  • Next by thread: Re: Cocoa, full-screen mode, and windows
  • Index(es):
    • Date
    • Thread