• 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
Custom dock tile for window ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom dock tile for window ...


  • Subject: Custom dock tile for window ...
  • From: Michael Pringle <email@hidden>
  • Date: Sat, 8 Mar 2008 22:44:57 +0000
  • Authenticated-sender:

Hi,

Earlier in the week I was trying to build an app the had no menu bar, but still had a dock icon, similar to Dashboard. However, the only way I could successfully hide my applications menu bar was to set the LSUIElement in the info.plist file, but as you probably know this also hides the dock icon, a kind of all or nothing approach.

Since I only want the dock icon to display a custom view and a number in a badge, I figured I'd try a slightly different approach. I've setup a transparent window that launches at start and minimizes as soon as the app finishes launching, and then I get its dock tile object and customize how I wish. All this works perfectly except that when I click on the custom icon when its in the dock it resizes back out to the transparent window, not something I want !!

So does anyone know how to intercept when the user clicks on a minimized window icon in the dock, so that I can stop coming out of the dock ? There is a windowWillMiniaturize delegate method, but I can't seem to find anything for coming back the other way. What I'd really like is to stop the window coming out from the dock, and call makeKeyAndOrderFront on a separate window.

Does anyone have any ideas ??

Thanks

-Mic
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Custom dock tile for window ...
      • From: Jens Alfke <email@hidden>
  • Prev by Date: NSUserDefaults and mutability
  • Next by Date: Re: Multiple applications, one NSUserDefaults object?
  • Previous by thread: Re: NSUserDefaults and mutability
  • Next by thread: Re: Custom dock tile for window ...
  • Index(es):
    • Date
    • Thread