• 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: Fullscreen Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: updating UI during long loop using cocoa objective-c
  • Next by Date: Re: Deselecting an NSButtonCell?
  • Previous by thread: Re: Threading and GraphicContext
  • Next by thread: Restricting the fonts in NSFontPanel
  • Index(es):
    • Date
    • Thread