Re: Dragging a borderless window with a sheet displayed
Re: Dragging a borderless window with a sheet displayed
- Subject: Re: Dragging a borderless window with a sheet displayed
- From: Matt Neuburg <email@hidden>
- Date: Wed, 27 Sep 2006 08:35:46 -0700
- Thread-topic: Dragging a borderless window with a sheet displayed
On Tue, 26 Sep 2006 23:52:48 -0230, Jerry Brace <email@hidden> said:
>I am using a NSBorderlessWindowMask on the main application window
>and I have all of the custom dragging and resizing working fine - but
>if I display a sheet, the window behind it is locked and I cannot
>drag the window around. On a regular NSWindow with a title bar this
>isn't a problem.
It is the nature of a sheet that it is usually window-modal. So you can't
click in the content area of the window behind the sheet. With a borderless
window, the whole window is content area. So an easy way out would be to
either (a) don't use a borderless window, or (b) don't use a sheet. (Or let
the user drag the window around by dragging the sheet.) m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden