From: "Bradly J. Barton" <[EMAIL PROTECTED]>
Subject: Re: Loading and Displaying a Bitmap Resource
> That didn't exactly answer the question I was asking. I know WinDrawBitmap
> will draw the bitmap (I didn't realize that function chose the depth
> automatically).. what I was trying to figure out was how to load the
bitmap
> in the first place. Do I pass the ID of the Bitmap family to
DmGetResource?
> What kind of resource type do I tell DmGetResource I am loading? There is
no
> "bitmap family" resource type defined in the documentation that I can find
> (I may have out of date docs).
>
> In other words, my question was about DmGetResource more than
WinDrawBitmap.
Use the bitmapID of the bitmap family and call DmGetResource like this:
MemHandle theResourceHandle = DmGetResource( bitmapRsc, bitmapID );
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/