FROM : Julian Cain
DATE : Fri Apr 01 21:57:54 2005
or even shorter... NSImage *theIcon = [NSApp applicationIconImage];
On Apr 1, 2005, at 2:47 PM, Sherm Pendley wrote:
> On Apr 1, 2005, at 1:38 PM, Mike R. Manzano wrote:
>
>> Anyone know how to get an application's current icon? I'd like to
>> fetch my own application's current icon whether it be something I
>> assigned, or the default one.
>
> NSImage *theIcon = [[NSApplication sharedApplication]
> applicationIconImage];
>
> sherm--
>
> Cocoa programming in Perl: http://camelbones.sourceforge.net
> Hire me! My resume: http://www.dot-app.org
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
DATE : Fri Apr 01 21:57:54 2005
or even shorter... NSImage *theIcon = [NSApp applicationIconImage];
On Apr 1, 2005, at 2:47 PM, Sherm Pendley wrote:
> On Apr 1, 2005, at 1:38 PM, Mike R. Manzano wrote:
>
>> Anyone know how to get an application's current icon? I'd like to
>> fetch my own application's current icon whether it be something I
>> assigned, or the default one.
>
> NSImage *theIcon = [[NSApplication sharedApplication]
> applicationIconImage];
>
> sherm--
>
> Cocoa programming in Perl: http://camelbones.sourceforge.net
> Hire me! My resume: http://www.dot-app.org
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Mike R. Manzano | Apr 1, 20:38 | |
| Julian Cain | Apr 1, 20:44 | |
| Sherm Pendley | Apr 1, 21:47 | |
| Julian Cain | Apr 1, 21:57 |






Cocoa mail archive

