Re: Full screen tiny issue
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