From: "Richard Anderson" <[EMAIL PROTECTED]>
Subject: How do I dynamically display bitmap familys


> Does anyone know how to dynamically display bitmap familys on a form.

Use the ID of your bitmap family for the bitmapID in the code below:

 MemHandle theResourceHandle = DmGetResource( bitmapRsc, bitmapID );
 BitmapPtr theBitmapPtr = MemHandleLock( theResourceHandle );
 WinDrawBitmap( theBitmapPtr, x, y );
 MemHandleUnlock( theResourceHandle );
 DmReleaseResource( theResourceHandle );



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to