void ScreenShot()
{
SendMessage(hLLKWnd,WM_PAINT,0,0);
hScreenShotDC = CreateCompatibleDC(hGlobalDC);
HBITMAP hBmp = CreateCompatibleBitmap(hGlobalDC, SCENE_WIDTH, SCENE_HEIGHT);
SelectObject(hScreenShotDC, hBmp);
BitBlt(hScreenShotDC,0,0,SCENE_WIDTH,SCENE_HEIGHT,hGlobalDC,SCENE_XOFFSET,SCENE_YOFFSET,SRCCOPY);
DeleteObject(hBmp);
}