I don't know if this is the cause of your problems, but FrmGetObjectIndex doesn't work
for form bitmaps. To be specific, if you call that routine with the ID of a bitmap
family, it'll return the index of the first form bitmap it finds which is currently
set to display that bitmap. However, unless the ID of the form bitmap happens to be
the same as that of the bitmap it's displaying, you can't find the index of the form
bitmap using FrmGetObjectIndex. My advice is to make the form bitmap ID the same as
that of the bitmap family it's displaying. Of course, this isn't possible if you're
dynamically changing the bitmap which it's displaying.
--
Peter Epstein
Palm Inc. Developer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/