On Mon, 3 Jun 2002, r. zane rutledge wrote:
> "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...

  check the pilrc sources - they will give you a good starting point

// az
[EMAIL PROTECTED]
http://www.ardiri.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