Re: Preventing windows from being dragged
Re: Preventing windows from being dragged
- Subject: Re: Preventing windows from being dragged
- From: Charles Srstka <email@hidden>
- Date: Fri, 22 Aug 2008 14:13:55 -0500
On Aug 21, 2008, at 10:02 PM, Ricky Sharp wrote:
Creating a non-movable, non-titled window is _trivial_. Just create
a tiny subclass and away you go. I do this myself, along with
following the guidelines of that technote.
Why would it be necessary to make a subclass? Shouldn't it be possible
to pass NSBorderlessWindowMask as the "styleMask" parameter in -
[NSWindow initWithContentRect:styleMask:backing:defer:] to get a
window with no title bar (which thus can't be dragged)?
Charles
_______________________________________________
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