My application is displaying default name on menu bar

My application is displaying default name on menu bar

Post by sarshah2 » Fri, 05 Dec 2003 20:45:09


Hi,

I have created a project using Mac OS PowerPlant Stationary -> Mac OS
Carbon -> Basic. When i run the project, the executable generated by
the project has the name "Basic PowerPlant Carbon" by default. The
problem is when i run the application (executable generated by my
project) it keeps on showing "Basic PowerPlant Carbon" in the menu bar
even if i rename the file.
On OS 9.x all i have to do to get rid of this is to rename the
executable but when it comes to OS X, renaming the application has no
affect and it keeps on displaying "Basic PowerPlant Carbon" on the
menu bar. I am using CodeWarrior 8.2 running on OS 10.2.

WHat should i do?

Thanks
Ali
 
 
 

My application is displaying default name on menu bar

Post by Frederick » Sat, 06 Dec 2003 00:16:26


Have you tried editing the plist as i suggested last time you posted your
question?

Fred

 
 
 

My application is displaying default name on menu bar

Post by sarshah2 » Sun, 07 Dec 2003 01:32:28

Yes thank you its done. There was a .plc file. I changed the key value
there to the text that i wanted to appear.
Meanwhile i have another problem. I have posted the same on another
forum but here goes.

I am using CodeWarrior 8.2 and OS 10.2. I have created a project using
Mac OS PowerPlant stationary -> MacOS Carbon -> Basic. Its a single
binary application. Now instead of using the default icon for
application, i want to use my own icon. For this i have created an
icon with IconComposer (.icns). How can i use this icon (.icns)? When
i created the project there was no .plist file in it but there is
.plc. Do i need to create .plist file? What keys i need to use?
I have achieved the same on 9.x by using a BNDL, FREF etc for the same
project but when i run my application on OS X the icon doesnt appear.
I would be running this single binary application on both OS's. A
'plst' resource provides the information that previously resided in
the 'vers', 'open', 'FREF', 'BNDL', and 'kind' resources of pre-Mac OS
X systems. I know that having both .plst and BNDL etc in my project
would have no affect because on Mac OS X, the information in a 'plst'
resource supersedes the information in the old-style resources.

Ali