• 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: Drawing application dock icon from Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing application dock icon from Cocoa?


  • Subject: Re: Drawing application dock icon from Cocoa?
  • From: Kaelin Colclasure <email@hidden>
  • Date: Fri, 12 Dec 2003 07:01:28 -0800

That certainly looks simple enough... Thanks for the pointers.

-- Kaelin

On Dec 12, 2003, at 6:42 AM, Stephane Sudre wrote:

> On 2003.12.12, at 02:42 午後, Kaelin Colclasure wrote:
>
>> I have found Apple's "Tiler" example, which shows how your
>> application can draw its own dock icon using Carbon APIs. Is there an
>> NSView-based way do accomplish this under Cocoa? Or does this require
>> using the Carbon APIs and Quartz directly?
>
> Basically,
>
> you create a NSImage, lock the Focus on it and draw what you want ,
> then you unlock the Focus and use [NSApp
> setApplicationIconImage:myImage];
>
> IIRC, there's a sample code from one WWDC 03 session (Cocoa Tips
> maybe) which shows this and the badge thing too.
> _______________________________________________
> 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.
_______________________________________________
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: Drawing application dock icon from Cocoa? (From: Stephane Sudre <email@hidden>)

  • Prev by Date: NSObject copy explanation
  • Next by Date: Use a NSMutableArray from another istance
  • Previous by thread: Re: Drawing application dock icon from Cocoa?
  • Next by thread: Re: Use a variable form an istance into another
  • Index(es):
    • Date
    • Thread