Re: Fullscreen Window
Re: Fullscreen Window
- Subject: Re: Fullscreen Window
- From: Andrew James <email@hidden>
- Date: Tue, 3 Apr 2007 20:21:49 +0930
Hi,
I was just getting back into the programming and just noticed that i
can enter text into the text box now, any ideas?
NSRect screenRect = [[NSScreen mainScreen] frame];
window = [[NSWindow alloc] initWithContentRect:screenRect
styleMask:NSBorderlessWindowMask
backing:NSBackingStoreBuffered
defer:NO
screen:[NSScreen mainScreen]];
//[UnlockPanel setFrame:screenRect display:YES];
[window setContentView:UnlockView];
[window makeKeyAndOrderFront:nil];
if(CGDisplayCapture(kCGDirectMainDisplay) != kCGErrorSuccess) {
/* Handle errors here */
}
int windowLevel = CGShieldingWindowLevel();
[window setLevel:windowLevel];
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden