• 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: Finding NSStatusItem's global coordinates/location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding NSStatusItem's global coordinates/location


  • Subject: Re: Finding NSStatusItem's global coordinates/location
  • From: Daniel Jalkut <email@hidden>
  • Date: Mon, 19 Dec 2005 03:04:12 -0500

Rakka - unfortunately the last I checked Apple doesn't offer much in the way of helping for this type of situation. Once you override the default NSStatusItem view, you have to take over all of the drawing, including the highlighted drawing you want to get a "menu-style" cilck.

I agree this is a total pain in the neck. Making a custom NSStatusItem that behaves as the user expects it to is not a simple feat.

Daniel

On Dec 19, 2005, at 2:48 AM, Rakka wrote:

I want the borderless window to show up when I click the statusItem.
For example, if I have a statusitem with a custom view, how am I
supposed to make it look as if it has been highlighted when clicked,
unhighlight and close the borderless when the mouse goes away, and all
the other behaviour of a regular statusItem? Really confusing me :P

Thanks.

I know I have to do all the mousedown things, etc. but are there any
examples I could have in making it act like a regular statusitem but
just with a borderless window instead of a menu?

_______________________________________________
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
References: 
 >Finding NSStatusItem's global coordinates/location (From: Rakka <email@hidden>)
 >Re: Finding NSStatusItem's global coordinates/location (From: Daniel Jalkut <email@hidden>)
 >Re: Finding NSStatusItem's global coordinates/location (From: Rakka <email@hidden>)

  • Prev by Date: XCode and subversion
  • Next by Date: RE: XCode and subversion
  • Previous by thread: Re: Finding NSStatusItem's global coordinates/location
  • Next by thread: Scroll bars in WebView
  • Index(es):
    • Date
    • Thread