[futurebasic] ICONS FREF and BNDL

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2003 : Group Archive : Group : All Groups

From: barrie <barrie@...>
Date: Sun, 18 May 2003 17:19:16 -0400
I'm having a hard time getting icons to behave properly.
In the BNDL resource (id 128) I have 3 icons set up. They are type "APPL",
"CMDA", and "data" with ICON id's of 128, 129 and 130 respectively. The
signature is "CHMK". The FREF resource has 3 id's: 128, 129 and 130.
Id # 128 is File type APPL with Icon LocalID = 0
Id # 129 is File type CMDA with Icon LocalID = 1
Id # 130 is File type data with Icon LocalID = 2

In PG:PRO the "finder resources" is set as follows:-
File Type: "CMDA" (there is only room for one file type, my app has two)
Creator: "CHMK"
Build: "APPL"

In my Application I have the following statements
RESOURCES "","APPLCHMK"
RESOURCES "","CMDACHMK"
RESOURCES "","dataCHMK"
PG:PRO (or someone else) put the first RESOURCES statement in the code. I
added the second and third RESOURCES statement after I discovered only one
Icon showed up after building the application.

NOW: When I build the application, the application ICON is wrong, it looks
and acts like the "data" ICON.

I've been battling this for two days and its time to admit that I don't know
what I'm doing. I hope the above info will give someone a clue as to where I
have gone wrong.
Thanks
Barrie