I've created a window in InterfaceBuilder that I would like to
display a
custom icon in. In the "icon inspector" I have 4 choices: Icon
Suite, cicn,
ICON & IconRef. All of these require a resource id except for
IconRef.
IconRef requires a type & creator. I have no idea what a type &
creator are
for.
For one of Apple's "standard" icons, or a specific application or
document icon.
I currently have my icon stored with my resources in a .incs file.
My .nib
file has some images in it, but I can't figure out how to add new
images to
it. If I could add the icon, then I could use a resource id. I would
prefer to somehow point the icon control to my icon in the .icns file.
Is there an easy way to associate my icon to the icon in the interface
builder window or do I need to write custom code and manually load
the icon?
You need to write code to load it. Cocoa nibs take care of it for you
automagically, but Carbon nibs don't have that feature.
steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden