• 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: full-screen window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: full-screen window?


  • Subject: Re: full-screen window?
  • From: Rosyna <email@hidden>
  • Date: Sat, 17 May 2003 01:04:09 -0700

pass NSBorderlessWindowMask as the styleMask in - (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag;

This can only be set on window creation it seems.

Ack, at 5/17/03, Uli Kusterer said:

Does anybody have an idea how I can create a window so it covers an entire screen? My application can be run in two different modes:

1) single-screen: All windows are regular windows on a single screen
2) multi-screen: All windows save for one are on the main screen, while on the second screen the "stage" window is shown. Its content area is supposed to cover the entire screen, and I don't want any window borders or title bars visible on that screen. I tried:

NSArray* screens = [NSScreen screens];

if( [screens count] > 1 )
{
NSScreen* secondScreen = [screens objectAtIndex:1];
NSRect theBox = [secondScreen frame];

theBox.size.height += 22;
[overlayWindow setFrame:theBox display:TRUE];
}

But whether I add 22 or not, the window always ends up filling the screen but with its title bar still onscreen. Any clues?

--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: full-screen window?
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >full-screen window? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: OT: WWDC
  • Next by Date: Re: OT: WWDC
  • Previous by thread: full-screen window?
  • Next by thread: Re: full-screen window?
  • Index(es):
    • Date
    • Thread