• 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 tiny issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Full screen tiny issue


  • Subject: Re: Full screen tiny issue
  • From: "Drarok Ithaqua" <email@hidden>
  • Date: Tue, 27 Jun 2006 16:27:05 +0100
  • Importance: Normal

Shouldn't you use CGCaptureDisplay for this kind of behaviour?

-----Original Message-----
From: cocoa-dev-bounces+cocoa=email@hidden
[mailto:cocoa-dev-bounces+cocoa=email@hidden] On Behalf Of
Shawn Erickson
Sent: 27 June 2006 16:12
To: Bobby B
Cc: Cocoa List
Subject: Re: Full screen tiny issue


On 6/27/06, Bobby B <email@hidden> wrote:
> Hey guys
>
> I'm trying to get my app to run full screen.  I want the title bar and
> menu bar to go away.  This works well:
>
> SetSystemUIMode(kUIModeAllHidden, nil);
>
> My windows, in Interface Builder, are all locked in at 0,0. However,
> when I run the app, there is a tiny gap (about 4 pixels) underneath
> the bottom of the window and the actual bottom of the scren (eg, you
> can see the background wallpaper under the window)
>
> Do you know what may be causing this?

Likely the windows are being placed in what is considered the visible area
of the screen and those pixels along the bottom are from the hidden dock (it
keeps a few pixels along the bottom even when hidden).

It could be an issue with the timing of your call to SetSystemUIMode and
when the window(s) are loaded/visible.

Anyway if you programmatically set the frame of you window(s) to the frame
of the target screen (remember folks can have more then one
screen) you should be fine.

-Shawn
 _______________________________________________
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

 _______________________________________________
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: Full screen tiny issue
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Making NSTableView Cells Selectable, But Not Editable
  • Next by Date: RE: Full screen tiny issue
  • Previous by thread: RE: Full screen tiny issue
  • Next by thread: Re: Full screen tiny issue
  • Index(es):
    • Date
    • Thread