• 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: iTunes 10 UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes 10 UI


  • Subject: Re: iTunes 10 UI
  • From: Chris Suter <email@hidden>
  • Date: Fri, 3 Sep 2010 14:17:20 +1000

Hi,

On Thu, Sep 2, 2010 at 5:07 PM, Iceberg-Dev <email@hidden> wrote:

It's not easy.
>
> 1. If you retrieve a NSButton with the official API, you will not be able
> to get the mouse over effect. This is a bug since Mac OS X 10.4 and it has
> still not been fixed in Mac OS X.
>
> 2. The NSButton Apple uses for NSWindow buttons are not simple NSButtons.
> And you can not display the mouse over version of the button rendering (as
> far as I've tried and Apple's DTS was not able to provide a solution
> either).
>

I think I looked into this ages ago and managed to get something working by
defining this undocumented method in the parent view:

- (BOOL)_mouseInGroup:(id)sender
{
  return [self mouse:
   [self convertPoint:[[self window] mouseLocationOutsideOfEventStream]
     fromView:nil]
       inRect:[closeButton frame]];
}

Obviously, with it being undocumented, the usual caveats apply.

Kind regards,

Chris
_______________________________________________

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:
    • [Moderator - undocumented API discussion and this thread] Re: iTunes 10 UI
      • From: Scott Anguish <email@hidden>
References: 
 >iTunes 10 UI (From: "Eric E. Dolecki" <email@hidden>)
 >Re: iTunes 10 UI (From: "John C. Randolph" <email@hidden>)
 >Re: iTunes 10 UI (From: Iceberg-Dev <email@hidden>)

  • Prev by Date: Re: NSTimer not working in a multithreaded application
  • Next by Date: Re: NSTimer not working in a multithreaded application
  • Previous by thread: [Moderator] Re: iTunes 10 UI - End of Thread
  • Next by thread: [Moderator - undocumented API discussion and this thread] Re: iTunes 10 UI
  • Index(es):
    • Date
    • Thread