On 1/9/09 3:45 PM, Jonathan Selander said:
>- (void)enterFullScreen:(id)sender
>{
> // toggle fullscreen mode
> if (self.isInFullScreenMode)
> [self exitFullScreenModeWithOptions:nil];
> else
> [self enterFullScreenMode:[NSScreen self] withOptions:nil];
>}
You want [NSScreen mainScreen], not [NSScreen self].
Also, you might want to search the archives for some limitations with
the enterFullScreenMode:withOptions: API.
--
____________________________________________________________
Sean McBride, B. Eng [email protected]
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]