Yes, it appears that 320 is a limit. But that seems to be only for compressed
bitmaps. I haven't been following this thread, so I didn't see if that was what
you were using. But compressing bitmaps works with a fixed-size 40 byte buffer,
so that's where the limit comes from.
-- Keith Rollin
-- Palm OS Emulator engineer
Chad Harrison <[EMAIL PROTECTED]> on 02/19/2001 12:45:58 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: Chad Harrison <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: Re: ScrDriverNew.c Line:499, Invalid Params
OK, after many attempts at figuring out what is going on... it seems
that on 3.0 and 3.1 I get the ScrDriverNew.c Line:499, Invalid Params
error when trying to draw to an offscreen windows when the bitmap is
larger than 320 wide. I can use just about any height, so far. I
tried 320 X 320, and that worked fine. I tried 320 X 500 and that
worked fine. But if I try 321 X 320, I get the error.
so, is this a limitation of drawing the bitmap, or the
offscreenwindow? what if I use two images, and draw them next to
eachother to get the final desired width??
thanks for all of the suggestions people have given so far...
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/