Howdy Folks:

Question: If I want to programmatically modify a bitmap stored in a
resource database I can imagine how to do it in the single bitmap
case...even if compressed, I could do a DmResizeResource() if the
compression results in a different size and then a DmWrite() to put the
new bits into the result....

But can I do something similar in the case of a bitmap family? Say I'm
modifying one of the 3 bitmaps in the resource...the one at whatever
depth my screen is at (the one that WinDrawBitmap() would naturally
choose).... If they were uncompressed and the same size, I could do the
DmWrite() as above without worries (I think), but if they are
compressed, I'm kinda out of luck...

...Or would it still be possible to somehow traverse the linked list of
multiple bitmaps manually, duplicate them elsewhere in memory, then
resize the record, then DmWrite them all back, somehow adjusting all the
linked list pointers appropriately...??

Any better ideas? Any other thoughts?

Thanks,
zane
-----
r. zane rutledge - http://www.rzanerutledge.com/palm/

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

Reply via email to