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

full-screen window?


  • Subject: full-screen window?
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 17 May 2003 01:58:17 +0200

Hi, me again :-)

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?

Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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: Rosyna <email@hidden>
  • Prev by Date: Re: OT: WWDC
  • Next by Date: Re: OT: WWDC
  • Previous by thread: Re: Figuring out mounted path from volume ref num
  • Next by thread: Re: full-screen window?
  • Index(es):
    • Date
    • Thread