Re: programming the dock icon
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.