I save a bmp in a Rec DB. Now how do I retrieve them.
I am trying in this way...
------------>

if (DmNumRecords ( DrawDB ) > 0 )
{
        theRecHandle = DmGetRecord ( DrawDB,   theIndex ); //
setting theIndex = 1
if (theRecHandle)
{
BitmapType *bitmap  = MemHandleLock( theRecHandle );
if (bitmap)
{
  WinCreateWindow (&bounds, rectangleFrame, false, 
true, &error) ;
  WinPaintBitmap(bitmap, 0, 16);
}
                
------------------->

But this doesnt retrieve any bmp....
So can anybody tell me what should I do to retrievethe
bmp's.
Thanx
Su

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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