hRes = DmGetResource();
MemHandleSize(hRes);

-----Original Message-----
From: r. zane rutledge [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 6:02 PM
To: Palm Developer Forum
Subject: Re: Wacky Bitmap Family Question


"Scott Johnson" <[EMAIL PROTECTED]> wrote:
> That sounds very doable, since you would need to fixup only the
> single nextDepthOffset field of the bitmap you are modifying.

Okay. I can see that. (And thanks for the quick reply.) 

One more implementation question then. If I attempt this, how do I
determine the size of the existing family resource in order to determine
the size I need for the new record? I know how to get the compressed
bits size (BmpBitsSize) or the individual bitmap size (BmpSize), but
isn't that just going to return the size of the "appropriate" bit-depth
bitmap, not the total size of the database record containing the entire
family? I know how to DmResizeResource() a record, but I don't see any
kind of DmSizeOfRecord/Resource() function.

I think this is the only hiccup and then I can tackle coding this,
unless someone thinks there's an easier way, or has some other suggestion...

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/


------------------------------------------

The information in this transmittal and any attachments is privileged and confidential 
and is intended only for the recipient(s) listed above. You are hereby notified that 
any unauthorized distribution or copying of this transmittal or its attachments is 
prohibited. If you have received this transmittal in error, please notify Invivodata 
immediately at (831) 438-9550.

------------------------------------------


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

Reply via email to