Re: Change Icon on Application Running
Re: Change Icon on Application Running
- Subject: Re: Change Icon on Application Running
- From: Robert Cerny <email@hidden>
- Date: Mon, 22 Dec 2003 20:06:24 +0100
Hi,
if the question is:"How can I change displayed icon of running
application in Dock?" than the answer is:
RTFM.
- (void)setApplicationIconImage:(NSImage *)anImage
Sets the receivers icon to anImage. This method updates the dock
application tile. anImage will be scaled as necessary to fit the tile.
The following code sample shows how to get the applications icon image
and then restore the docks image:
myImage = [NSImage imageNamed: @"NSApplicationIcon"];
[NSApp setApplicationIconImage: myImage];
HTH
Robert
On 22.12.2003, at 16:24, Roberto wrote:
>
How can i change The icon of the Application While its running?
>
_______________________________________________
>
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.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.