Paulo Raffaelli wrote:
>is the allocation of the offscreen bitmap and window succeeding? I tracked
>some
>problems I had with using bitmaps in offscreen windows down to not
>having enough memory to allocate
>the offscreen bitmap _and_ the window (admittedly, on an early Palm
>with very little memory).
Yep, allocation is succeeding fine, I don't even try to draw if it
doesn't. And remember, it works peachy with 3.3 ROMS, fails on 3.1.
Hmm, I just had a thought that maybe Constructor is doing something to
the bitmap I didn't tell it to (like make it color or grayscale behind my
back), so I looked at the structure in the debugger right after I load it
from the resource. The "compressed" bit is set! (And remember, the error
I'm getting has to do with bitmap compression, apparently.) I can't find
any way to tell constructor not to compress the bitmap...what are my
options here?
BTW, I'm using the 3.5 SDK, is there a problem compiling against that and
running on 3.1 ROMs? I'd hope not, as long as I stay away from the
3.5-only routines...
Dave Johnson
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html