[comp.sys.mac.programmer] hfdr offsets?

bitting-douglas@cs.yale.edu (Douglas Bitting) (06/29/91)

Hi... I was just poking around IM VI and looked up how do make an hfdr (so I
could make a mondo-cool balloon for my App I'm making) resource.  Well, the
info given would be great if I knew what the offsets were (I am using ResEdit
2.1's hex editor to make it).  This is what I tried.

bytes	value	comment
-----	-----	-------
1-2	$0002	HelpManager Version #
3-4	$0000	Options (default options)
5-6	$0000	Balloon Definition Function (use the default)
7-8	$0000	Variation code (as suggested)
9-10	$0006	Specifies to use 'TEXT' & 'styl' resources for the content
		of the balloon...
11-12	$0080	Use 'TEXT' & 'styl' resources 128.

However, this doesn't work.  When I looked at Applicon's hfdr resource, I
noticed that it had some extra stuff in there that I don't understand.  It is
the same up to byte 9... then it looks like this (this is Applicon's hfdr from
byte 9 on):

bytes	value	comment
-----	-----	-------
9-10	$0000	???
11-12	$0001	???
13-14	$0006	??? (maybe this is teh specification for 'TEXT' & 'styl'?)
15-16	$0006	I think this is the specification for 'TEXT' & 'styl'???
17-18	$03E8	Use 'TEXT' & 'styl' recources 1000


So what are bytes 9-16 really used for?  What am I missing?  Is it really in IM
VI, or is IM VI just forgetting something?  Randy?  Anyone?

Not a life or death thing, but I am curious...
Thanks...
--Doug
-- 
Doug Bitting             | "And we know that in all things God works
PO Box 3043 Yale Station |  for the good of those who love him..."
New Haven, CT 06520      |                       --Romans 8:28
bitting@cs.yale.edu      +------------------------------------------