‎12-12-2007 01:45 AM
‎12-12-2007 04:15 AM
Hello,
First, get a handle to the canvas bitmap by using the GetCtrlBitmap function:
int bitmap;
GetCtrlBitmap (pnlHandle, PNL_CANVAS, 0, &bitmap);
Then, you can use SaveBitmapToBMPFile, or SaveBitmapToJPEGFile to save the bitmap to a file. Don't forget to discard the bitmap afterwards (DiscardBitmap).