hdc=GetDC(hWnd);
mdc=CreateCompatibleDC(hdc);
hbmp=(HBITMAP)LoadImage(NULL,"sky.bmp",IMAGE_BITMAP,600,450,
LR_LOADFROMFILE);
SelectObject(mdc,hbmp);
BitBlt(hdc,0,0,600,450,mdc,0,0,SRCCOPY);
刪除物件
ReleaseDC(hWnd,mdc);
DeleteObject(hbmp);