> MemHandle resHandle = DmGetResource( bitmapRsc, FrontBodyGrayBitmap );
> BitmapPtr bmpPtr = (BitmapPtr)MemHandleLock( resHandle );
> WinDrawBitmap( bmpPtr, 10,10);
> MemHandleUnlock( resHandle );
> DmReleaseResource( resHandle );
>
> 16 grays display all black.......Frustrating!!!
what depth is the "bitmap"? are you sure the bitmap resource is even
definied correctly? chances are, its being stored as an all black
image :)) and, the code is doing what its supposed to :P
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/