Hello
I am trying to create a bmp with this....
------->
bmpP = BmpCreate(160, 100, 1, NULL, &error);
if (bmpP)
{
win = WinCreateBitmapWindow(bmpP, &error);
if (win)
{
WinSetDrawWindow(win);
drawHand = WinGetDrawWindow () ;
// Taking it from a gadget
WinCopyRectangle (drawHand, win, onScreenRect,
0, 0, winPaint);
WinSetWindowBounds(win, onScreenRect);
}
}
--------->
And after saving this in a db, I try to retrieve it by
this code......
// code for copying from dynamic mem to a mem chunk
if ( bmpP )
{
WinDrawBitmap(bmpP, 0,0);
}
But the bmp's arent retrieved....... so can anybody
help me with this....... like where am I missing
something....
Thanx to all
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/