• 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: Make NSWindow immovable by dragging bottom bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make NSWindow immovable by dragging bottom bar


  • Subject: Re: Make NSWindow immovable by dragging bottom bar
  • From: PCWiz <email@hidden>
  • Date: Sat, 2 Jan 2010 15:12:35 -0700

The window is going to be "attached" to an NSStatusItem, so it would be best if it stayed in one spot.


Independent Cocoa Developer, Macatomy Software
http://macatomy.com


On 2010-01-02, at 3:09 PM, Nick Zitzmann wrote:

>
> On Jan 2, 2010, at 11:48 AM, PCWiz wrote:
>
>> I have a bottom bar in my Cocoa app, and when I drag from the bottom bar it moves the window. One solution here would be to add a child window that covers the bottom bar and intercepts all mouse events, but I want the window to be able to resizeable by the bottom right corner and a child window would cover that part.
>>
>> Any solutions?
>
> Why do you want to override the expected behavior of such a window? Unless you have a really good reason for doing this, I'd suggest leaving it alone in order to be consistent, since the Finder and many other apps allow this.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
>

_______________________________________________

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

  • Follow-Ups:
    • Re: Make NSWindow immovable by dragging bottom bar
      • From: Nick Zitzmann <email@hidden>
References: 
 >Make NSWindow immovable by dragging bottom bar (From: PCWiz <email@hidden>)
 >Re: Make NSWindow immovable by dragging bottom bar (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Make NSWindow immovable by dragging bottom bar
  • Next by Date: Re: Make NSWindow immovable by dragging bottom bar
  • Previous by thread: Re: Make NSWindow immovable by dragging bottom bar
  • Next by thread: Re: Make NSWindow immovable by dragging bottom bar
  • Index(es):
    • Date
    • Thread