Show in menu bar and hide dock icon

Discussion in 'Mac Programming' started by prostuff1, Dec 21, 2008.

  1. prostuff1 macrumors 65816


    Jul 29, 2005
    Don't step into the kawoosh...
    I am trying to add some functionality to Transmission. Have most of it done the way i want it, but am trying to figure out how to programatically show and hide a dock icon along with how to show and hide a menubar icon.

    I basically want to implement it so it works exactly how Quicksilver does it. I have looked at the quicksilver code but am kinda lost. If anyone can point me in the right direction it would be appreciated!!
  2. grimreaper1377 macrumors regular

    Oct 20, 2007
    I was trying to figure this ou too. Any ideas anyone?
  3. kainjow Moderator emeritus


    Jun 15, 2000
  4. KiamLaLuno macrumors newbie

    Sep 12, 2009
    SetSystemUIMode() works when the application is the frontmost one

    As reported in Techical Note TN2062:

    Does that mean the hidden dock icon will return visible, when the frontmost
    application is a different one? Or is that valid for all the set flags but the one that hides the application dock icon?

Share This Page