Tilo,

--- Tilo Christ <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> > Is there a way for WinCreateOffscreenWindow to create a window of a bit
> depth
> > that is not the current.  Right now I can create a 16-bit offscreen window
> by
> > putting the device into 16-bit mode creating it and putting it back into
> the
> > native 8-bit mode.  However, this causes some unpleasing flash on some
> devices.
> > 
> 
> You can first create a bitmap with the desired properties, 
> and then create an offscreen window from that bitmap. This 
> will not produce any visible side-effects.

That worked just great! Thanks.

Here is what I did, for the record:

pOffscreen16 = BmpCreate(maxScreenWidth, maxScreenHeight, 16, NULL,
                         &error);
if(error == errNone)
   hOffscreen16 = WinCreateBitmapWindow(pOffscreen16, &error);

Regards,

Mike McCollister


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to