• 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: how to make an NSWindow unmovable...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to make an NSWindow unmovable...


  • Subject: Re: how to make an NSWindow unmovable...
  • From: Scott Thompson <email@hidden>
  • Date: Sun, 12 Jun 2005 03:05:19 -0700


On Jun 12, 2005, at 12:10 AM, Philip George wrote:

is there some sort of setMovable: method that i can call to make an NSWindow with a titlebar unmovable?

i realize i can catch NSWindowDidMoveNotification and move the window back, but that's kinda cludgy.

is there a simpler way?

thanks.

- philip

Perhaps the more important question to ask here is why do you want to prevent the user from moving a window with a title bar. The title bar is there for a reason and denying the user the ability to move a window with a title bar is a very bad violation of the Macintosh User Interface conventions.


Scott


_______________________________________________ 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
  • Follow-Ups:
    • Re: how to make an NSWindow unmovable...
      • From: j o a r <email@hidden>
    • Re: how to make an NSWindow unmovable...
      • From: Philip George <email@hidden>
References: 
 >how to make an NSWindow unmovable... (From: Philip George <email@hidden>)

  • Prev by Date: NSTextView setRulerVisible: weirdness
  • Next by Date: Re: NSMutableDictionary setObject:forKey:
  • Previous by thread: Re: how to make an NSWindow unmovable...
  • Next by thread: Re: how to make an NSWindow unmovable...
  • Index(es):
    • Date
    • Thread