• 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: Making a window the size of the desktop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a window the size of the desktop?


  • Subject: Re: Making a window the size of the desktop?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Tue, 16 Nov 2004 14:04:49 +0100

At 10:30 Uhr +0100 15.11.2004, Peter Maurer wrote:
There's a method called something like "constrainToScreen" in NSWindow. return NO from that (or return the rect without constraining it, or something) and it should work.

I usually use NSBorderlessWindowMask NSWindows, and I've never even heard of the "constrainToScreen" method ;-) Could it be that using borderless windows liberates you from having to implement constrainToScreen? (Come to think of it, NSWindow's standard reply for constrainToScreen might even depend on the window's style mask...)

Yes, I think it depended on the window layer you've chosen. Overlays have a pretty high window layer, but if you e.g. need to be under the menu bar and underneath floaters, you may need to keep NSWindow from doing the constraining.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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:
    • YA Newbie question
      • From: Daniel T <email@hidden>
References: 
 >Making a window the size of the desktop? (From: Austin Sarner <email@hidden>)
 >Re: Making a window the size of the desktop? (From: Peter Maurer <email@hidden>)

  • Prev by Date: Re: [Proposal] On-the-fly NIB localization
  • Next by Date: Re: Multi-Page TIFF routine
  • Previous by thread: Re: Making a window the size of the desktop?
  • Next by thread: YA Newbie question
  • Index(es):
    • Date
    • Thread