From: "Mike Montalvo" <[EMAIL PROTECTED]>
> The code below runs Ok the first time through but gets an 'object not in
> form error' the second time at the FrmGetObjectIndex().
>
> Two questions: whats with the error? I mean it was in the form the first
> time through and I didnt remove it. And is this the 'proper' way of
changing
> the bitmap thats displayed?
1. FrmGetActiveForm() may not return a pointer to what you think is the
active form since some other UI objects are actually forms. Therefore, it
is safer to use FrmGetFormPtr().
2. The normal way to display a bitmap is to draw it.with WinDrawBitmap().
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/