oh so if the os takes care of the screen mode then os3.5 apps with bitmap
families won't work properly on a 3.1 device, eh?
-----Original Message-----
From: Richard Burmeister <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Friday, September 22, 2000 3:41 PM
Subject: Re: Colour bitmap in Alert
>From: "John Cundall" <[EMAIL PROTECTED]>
>Subject: Colour bitmap in Alert
>
>
>> my question is, what do I have to do to get a colour bitmap to draw in
>> colour *in a dialog* ?
>
>That shouldn't cause any problems. Are you using a Bitmap Family for the
>bitmap? If so, you don't have to check the screen mode; the OS takes care
>of selecting the proper bitmap for the current screen depth.
>
>Here's code I use to display a modal dialog box, given the id of a form:
>
>static UInt16 ShowModalDialog( UInt16 frmID )
>{
> FormPtr prevForm, thisForm;
> UInt16 btn;
>
> prevForm = FrmGetActiveForm();
> thisForm = FrmInitForm( frmID );
> FrmSetActiveForm( thisForm );
> btn = FrmDoDialog( thisForm );
> if ( prevForm )
> FrmSetActiveForm( prevForm );
> FrmDeleteForm( thisForm );
> return btn;
>} // ShowModalDialog
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/