"Jeff Ishaq" <[EMAIL PROTECTED]> wrote:
> I'd like to display an hourglass on the form during a short (1 to
> 1.5-second) operation, and then undraw it. I am concerned about doing this
> as quickly as possible, to eliminate any flicker that may result from
> operations that take very little time.
[ stuff deleted ]
> In Constructor, I created a 1-bit Hourglass1Bitmap as a PICT resource, ID
> 1000, and then a HourglassBitmapFamily as a tbmf resource, ID 1000. The
> tbmf references the PICT.
>
>
> FormPtr pForm = FrmGetActiveForm();
> FormBitmapType* pFrmBMP =
> FrmNewBitmap( &pForm, resIdOne, resIdTwo, x, y );
>
> FrmShowObject (pForm, resIdTwo);
First of all, I don't know anything about Constructor and CodeWarrior
(I use PilRC and prc-tools). But I have created a couple of apps that
show and hide bitmaps, and I've never had to use FrmNewBitmap. I simply
create the bitmap family, give a resource ID, and specify that bitmap
ID as a form bitmap on whatever form. I would imagine that Constructor
lets you statically place a bitmap at an arbitrary position on a form.
--
Roger Chaplin
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/