--- Thomas Ward <[EMAIL PROTECTED]> wrote:
>
> Is there a generic "display this image" API I can use?
> If so, what format(s) does it work with?
>
WinDrawBitmap() is documented in the API reference. Here is an example
of how to use it to draw a bitmap that has been stored as a resource in
your program ("bitmapID" is the resource number). Use Constructor or
PilRC or PAR to add bitmap resources to your app.
MemHandle theResourceHandle;
BitmapPtr theBitmapPtr;
theResourceHandle = DmGetResource( bitmapRsc, bitmapID );
theBitmapPtr = MemHandleLock( theResourceHandle );
WinDrawBitmap( theBitmapPtr, x, y );
MemHandleUnlock( theResourceHandle );
DmReleaseResource( theResourceHandle );
The Bitmap format used by WinDrawBitmap() is also documented in the API
reference.
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/