Re: Preventing windows from being dragged
Re: Preventing windows from being dragged
- Subject: Re: Preventing windows from being dragged
- From: "Sean McBride" <email@hidden>
- Date: Mon, 25 Aug 2008 16:30:02 -0400
- Organization: Rogue Research
On 8/22/08 4:25 PM, Jason Coco said:
>It also appears that Leopard has added some support for this within
>AppKit itself... three new methods were added to NSView:
>
>-(BOOL)enterFullScreenMode:(NSScreen *)screen withOptions:
>(NSDictionary *)options;
>-(void)exitFullScreenModeWithScreen:(NSScreen *)screen;
>-(BOOL)isInFullScreenMode;
>
>I just tried them out and they were pretty easy and seemed to work
>well enough. I didn't even bother with the options, just sent:
And those API do indeed capture the display. They are great for
extremely simple cases, but once you want to do something non-trivial
they become not so useful. You can't get the menu bar and dock to
appear on roll-over, etc., etc. (see archives.)
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden