On Wed, 18 Jan 2006 14:48:56, Jeremy Sagan <email@hidden> wrote:
> That sounds good. I would like to use 'icns' resource with
> PlotIconRef. I am having trouble obtaining an iconref though. If I
> have an 'icns' resource in my main application resource file (which
> is in the app's bundle) how do I turn that into an iconref I can call
> ploticonref with?
iconFamily = (IconFamilyHandle)GetResource('icns', ....);
err = RegisterIconRefFromIconFamily(kCreator, kType, iconFamily, &iconRef);
ReleaseResource(iconFamily);
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden