[comp.sys.mac.programmer] Problem getting my App's docs to have their own icons

ra_robert@gsbacd.uchicago.edu (07/14/89)

I'm able to get my App to have it's own distinctive icon, but so far I've been
unable to the docs my App produces to have their own icons.  Rather they're 
given the standard doc icon.  I think I'm doing things correctly, and I've
rebuilt my desktop, just to be sure, but I can't get it to work.  Any
suggestions would be welcomed. Here is a Derez of the relevant portion of my
resource file:



resource 'ICN#' (1000) {
	{	/* array: 2 elements */
		/* [1] */
	icon and icon mask stuff	}
};

resource 'ICN#' (1001) {
	{	/* array: 2 elements */
		/* [1] */
		icon and icon mask stuff
	}
};

resource 'FREF' (128) {
	'APPL',
	0,
	""
};

resource 'FREF' (129) {
	'PNTG',
	1,
	""
};

resource 'BNDL' (1000) {
	'APPL',
	0,
	{	/* array TypeArray: 2 elements */
		/* [1] */
		'ICN#',
		{	/* array IDArray: 2 elements */
			/* [1] */
			0, 1000,
			/* [2] */
			1, 1001
		},
		/* [2] */
		'FREF',
		{	/* array IDArray: 2 elements */
			/* [1] */
			0, 128,
			/* [2] */
			1, 129
		}
	}
};



 
Robert
------
ra_robert@gsbacd.uchicago.edu
------
generic disclaimer: all my opinions are mine