At 07:06 PM 9/3/2002 -0400, you wrote:
>So, if I use the same bitmap resource in multiple places on one form, there
>is no way to independently access each instance of the bitmap?  For example,
>I may want to hide one instance of the bitmap without hiding another
>instance that is on my form.
>
>There must be some way to do this without making multiple copies of the
>bitmap resource, right?

Sorry... the FrmGetObjectIndex code looks in the bitmap ID field for form 
bitmaps.

You can manually do a search by using FrmGetObjectPtr and go through all 
the objects one-by-one, using FrmGetObjectKind to find the form bitmaps, 
and then checking the Form Bitmap pointer yourself (although there's no 
Palm OS 5+ safe way to do the last part, AFAIK).


-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to