• 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: NSStatusItem: window instead of menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStatusItem: window instead of menu


  • Subject: Re: NSStatusItem: window instead of menu
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 8 Jun 2005 10:31:48 -0400

I don't have my similar code handy, but I think you can determine a precise location for the window based on the global coordinates of status item's view itself.

Daniel

On Jun 7, 2005, at 8:34 PM, Rakka wrote:

Hi,

Thanks for replying. How would I make the window display where the StatusItem is?

Thanks again.

Rakka

On 07/06/2005, at 11:57 PM, Daniel Jalkut wrote:


Hi Rakka - you need to set a custom view on the NSStatusItem. In your custom view, in repsonse to a mouse click, you can display a window instead of a menu.

The default NSStatusItem view is (as far as I know) only set up to do menus.

Daniel

On Jun 7, 2005, at 3:18 AM, Rakka wrote:



_______________________________________________ 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: 
 >NSStatusItem: window instead of menu (From: Rakka <email@hidden>)
 >Re: NSStatusItem: window instead of menu (From: Daniel Jalkut <email@hidden>)
 >Re: NSStatusItem: window instead of menu (From: Rakka <email@hidden>)

  • Prev by Date: Re: universal binary compilation errors
  • Next by Date: Re: Why are BOOL and bool distinct types?
  • Previous by thread: Re: NSStatusItem: window instead of menu
  • Next by thread: Newbie questions
  • Index(es):
    • Date
    • Thread