• 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: Dragging a borderless window with a sheet displayed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Initialisation and awakeFromNib being called multiple times
  • Next by Date: Re: Notification when changes occur to an array?
  • Previous by thread: Dragging a borderless window with a sheet displayed
  • Next by thread: Dragging a file and place it inside a Menu
  • Index(es):
    • Date
    • Thread