You can use PILRC to convert .BMP files to bitmap resources.

Yep, open the database, get the resource, lock the resource's handle and
use WinDrawBitmap() to paint it.


Michael A Smith/SJC/Lotus wrote:
> 
> Is there any good documentation on bitmaps, converting them,
> saving them as a resource, displaying them?
> 
> (I'm working on NT with CW...so MAC/GCC solutions won't help me)
> 
> I need a program which can go out to a separate resource...pull bitmap 1000
> and display it.  Lets say the bitmap is 160/30 pixels in size.
> 
> I've got a generic PC bitmap of the appropriate size.  I want to put this
> bitmap
> into a resource file and transfer the resource file to the Palm...and
> presto...the
> palm program will display the new bitmap. (Assuming i use the same resource
> name & id=1000)
> 
> My thoughts were that I could
>      use DmOpenDatabase to open the rsrc file
>      use FrmNewBitmap to display the Bitmap on the form (location will
> vary)
>      or should I use WinDrawBitmap?
> 
> My problem:
>      I've got a PC bitmap...how do I get it into a resource file
>      How do I create that resource file via CW
>      (I assume I can just use palm installer to put the resource file on
> the palm)
>      How do I access that bitmap & make it display?
> 
> Any help would be appreciated
> 
> Thanks
> 
> Mike

Reply via email to