Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / November 2004



Tip: Looking for answers? Try searching our database.

Adding icons to an application -- How?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James Stein - 25 Nov 2004 01:56 GMT
I have created a new project of this type:
 Mac OS PowerPlant stationery
   Mac OS X Mach-O
     Advanced

I wish to do the following three things to the project
(and I am currently stuck on the first):
1.  Add a custom icon for the application.
2.  Add a custom icon for the application's document.
3.  Add another custom icon for a additional document kind.

I have .icns files for the the icons.

The file 'AppProperetyList.plc' contains this line:
     key "CFBundleIdentifier" value string kBundleIdentifier
and what I tried is to add, immediately following, this line:
     key "CFBundleIconFile" value string "StoxAppl.icns"
but the app is built with the generic icon.

I have been unable to locate any documentation concerning the use of
icons (since OSX -- I mastered the techniques appropirate for Max OS 7,
etc.), nor can I find any example Machk-O projects that use non-generic
icons.
David Phillip Oster - 25 Nov 2004 07:12 GMT
> I have been unable to locate any documentation concerning the use of
> icons

<http://developer.apple.com/technotes/tn/tn2013.html>

> nor can I find any example Machk-O projects that use non-generic
> icons.

Just Show-Package-Contents (i.e., control click) on almost anything in
/Applications and look at its Contents/Info.plist

Now, try it with your own app. Does it have the correct icns files in
the Contents/Resources subfolder? if not, set up the "Package" tab of
your Codewarrior project correctly.

Search on <http://groups.google.com/> for StandardInfoPlistKeys.h

David Phillip Oster
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.