• 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: programming the dock icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programming the dock icon


  • Subject: Re: programming the dock icon
  • From: Greg Titus <email@hidden>
  • Date: Wed, 9 Apr 2003 00:21:48 -0700

On Tuesday, April 8, 2003, at 07:54 PM, Nick Zitzmann wrote:

On Tuesday, April 8, 2003, at 05:11 PM, Nebagakid wrote:

Where is the documentation (or examples) for programming the dock icon (like in mail)?

To make changes to the application's Dock icon, AFAIK, you also have to use Carbon. See <http://developer.apple.com/techpubs/macosx/Carbon/ HumanInterfaceToolbox/DockManager/Dock_Manager/dockmngr_refchap/ function_group_3.html>

Nah. Just use [NSApp setApplicationIconImage:]

Basically you draw whatever you want in an appropriate NSImage, and then make this method call. If you are specifically interested in displaying a number inside a badge, the way that Mail and OmniWeb do, you could use OADockStatusItem in OmniAppKit.

Hope this helps,
- Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: programming the dock icon (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: HowTo: server
  • Next by Date: Re: Newbie: Accepting any file type
  • Previous by thread: Re: programming the dock icon
  • Next by thread: Re: programming the dock icon
  • Index(es):
    • Date
    • Thread