• 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: Detecting when menubar is visible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting when menubar is visible


  • Subject: Re: Detecting when menubar is visible
  • From: Karl Goiser <email@hidden>
  • Date: Wed, 21 Mar 2007 11:25:49 +1100

August,

Thank you very much!!

A search in the archives for kEventParamSystemUIMode revealed several code snippets which allowed me to address the issue!

Fantastic!!!


If you or anybody on the list wants a discount for an upcoming battery level monitoring program, just email me!



Karl



On 21/03/2007, at 5:02 AM, August Trometer wrote:

I've got an app where I need to do this.

You can use Carbon events. Register for kEventParamSystemUIMode. The use the event parameters to determine which mode the screen is in.


August Trometer http://FoggyNoggin.com


On Mar 20, 2007, at 10:59 AM, Karl Goiser wrote:

G'Day Guys,

Well, the title says it all: is is possible to detect when the menubar is made hidden/visible (in a non-polling way, of course)?

There don't seem to be any notifications relevant to this...


Thanks in advance!

Karl

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Detecting when menubar is visible (From: Karl Goiser <email@hidden>)
 >Re: Detecting when menubar is visible (From: August Trometer <email@hidden>)

  • Prev by Date: performSelectorOnMainThread & NSEventTrackingRunLoopMode
  • Next by Date: Re: performSelectorOnMainThread & NSEventTrackingRunLoopMode
  • Previous by thread: Re: Detecting when menubar is visible
  • Next by thread: Exploring Objects In xCode
  • Index(es):
    • Date
    • Thread