> Hi,
> 
> I want my PRC file to show different icons (in Launcher) for BW and Color
> models.

  yep.. very easy to do.
 
> So I have defined in CW6.0 constructor my AppIconFamily ID1000 with 2
> different icons: one -1bpp ID2000, second - 8bpp ID2001. Both are 32x32
> pixs.

  why? make them a bitmap family. they both should have ID's of 2000 in
  this case.. 
 
> It works fine when I upload my PRC file through CW environment and debug it
> on POSE, not real hardware...) And I have different icons.
> 
> Nevertheless I can't install PRC file to POSE directly because "duplicate
> tAIB (1000) resource was found". Indeed there are 2 resources tAIB #1000.

  there should only be ONE resource.. but the resource is a bitmap family.
  (that is, it contains two bitmaps nested in the one resource). :)

> - is it normal that PRC file has 2 resources having the same resType and
>   resID?
  
  not normal. :) one resource per id.

> - is it a bug in POSE that it loads PRC file well but only in specific
>   conditions?

  no bug :)

> - will this PRC file be compatible with ALL PalmOS releases (current and
>   future)?

  if you make it a bitmap family.. yes.. it even works on PalmOS 1.0 :P

  cheers.

az.
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to