> 1. Use BmpGetBitDepth() to get the depth of the 'Tbmp' resource. > 2. Use BmpCreate to create a new bitmap on the dynamic heap with the width, > height, and depth parameters you need. > 3. Use WinCreateBitmapWindow() on this new bitmap to turn it into a window > you can draw into. > 4. Set the new window as the draw window and draw the 'Tbmp' resource into > it. This will automatically uncompress the 'Tbmp' resource.
As I mentionned earlier, this does not seem to work with 1-bit depth bitmaps on OS 5 devices. See: http://www.escribe.com/computing/pcpqa/m81373.html Pascal -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
