• 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: NSWindow: Custom title bar double-click action?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow: Custom title bar double-click action?


  • Subject: Re: NSWindow: Custom title bar double-click action?
  • From: "Kyle Sluder" <email@hidden>
  • Date: Wed, 16 Jan 2008 17:38:15 -0500

On 1/16/08, email@hidden <email@hidden> wrote:
> Hello,
>
> I have a "mini-HUD" the user can
> enable via the application menu, and would like to set up a custom
> title bar double-click action as a more convenient way to switch to
> this mini-mode. Only problem is I cannot find any documentation on how
> to do this. Any pointers?

Why are you redefining this behavior?  I double-click to minimize
things all the time; your app would frustrate me and I would not use
it.  I don't care why you think your behavior is superior, I (and your
users) will not tolerate your disdain for established behavior.

Instead you might want to consider how iTunes overrides the zoom
button behavior to switch to its mini-mode.  Note that it still lets
you double-click on the mini-mode window's surface to minimize to the
dock.  Override -[NSWindow performZoom:] to implement this behavior.

--Kyle Sluder
_______________________________________________

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: NSWindow: Custom title bar double-click action?
      • From: email@hidden
References: 
 >NSWindow: Custom title bar double-click action? (From: email@hidden)

  • Prev by Date: Scroll view clip view not moving to new object inserted in contained NSCollectionView - when are resizing events in the view hierarchy complete?
  • Next by Date: Re: Scroll view clip view not moving to new object inserted in contained NSCollectionView - when are resizing events in the view hierarchy complete?
  • Previous by thread: NSWindow: Custom title bar double-click action?
  • Next by thread: Re: NSWindow: Custom title bar double-click action?
  • Index(es):
    • Date
    • Thread