Finally got this one to work. 
Arron....The bitmap was defined as multi depth, that was not the problem.
What I had to do was add it to a bitmap family, then declare it in the
family 4 times....once for each bit depth.  Then instead of WinDraw'ing the
bitmap I WinDraw'ed the bitmap family.  
Thank you for the help and suggestions.



-----Original Message-----
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 7:13 PM
To: Palm Developer Forum
Subject: Re: displaying 4 bit depth bitmap


>       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/

-- 
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