• 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: [SOLVED] Changing the position of a NSStatusItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED] Changing the position of a NSStatusItem


  • Subject: Re: [SOLVED] Changing the position of a NSStatusItem
  • From: Peter Maurer <email@hidden>
  • Date: Mon, 15 Nov 2004 09:48:42 +0100

I'm wondering how some apps change the position of their NSStatusItems.

- (id)_statusItemWithLength:(float)fp8 withPriority:(int)fp12;

pass the biggest SInt32 possible (2147483647)

I'm using the INT_MAX constant for these purposes -- that's probably the same value. But it simply looks better than a raw number. Cheers,


Peter.

___
http://www.petermaurer.de/butler

_______________________________________________
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: 
 >Changing the position of a NSStatusItem (From: Olivier Lanctôt <email@hidden>)
 >Re: Changing the position of a NSStatusItem (From: Kevin Ballard <email@hidden>)
 >Re: Changing the position of a NSStatusItem (From: Olivier Lanctôt <email@hidden>)
 >Re: [SOLVED] Changing the position of a NSStatusItem (From: Olivier Lanctôt <email@hidden>)

  • Prev by Date: Re: Trouble comparing NSCalendarDates
  • Next by Date: Re: Trouble comparing NSCalendarDates
  • Previous by thread: Re: [SOLVED] Changing the position of a NSStatusItem
  • Next by thread: Making NSBrowser more efficient
  • Index(es):
    • Date
    • Thread