Thanks Aaron. It works fine. :) Ram Prasad >From: "Aaron Ardiri" <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: Re: OffScreen Windows & Bitmap Depth. >Date: Wed, 24 Jul 2002 11:28:00 +0200 > > > I want to generalize my application, such that it works in all devices, > > showing color or black & white images according to the device used. > > One way of solving this problem would be creating Bitmap Families. > > But, In this particular application, I am using Offscreen windows, which > > copies the colored images. > > So, to work in all devices, Is it necessary to track the version and the > > supported depth and paste the corresponding Offscreen Window (either 1 >bit, > > 4bit or 8 bit). But i feel that it would result in some clumsy coding. > > Your suggestion and ideas are always welcome. > > when you create an offscreen window - it'll use the same depth as the > screen :) thats how it works. when you draw your bitmap to it, the > API will select the best depth from the bitmap family.. > > you dont need to do anything else. try it, it might surprise you :) > >--- >Aaron Ardiri >CEO - CTO >Mobile Wizardry >http://www.mobilewizardry.com/ > > > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/support/forums/
_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
