/* CClientDC dc(this);
dcMemory2.CreateCompatibleDC(&dc);//关联两个DC
hBitmap = CreateCompatibleBitmap(dc,115,84);//在缓冲中建立BITMAP
SelectObject(dcMemory2, hBitmap);
BitBlt(dcMemory2,0,0,115,84,dc,m_rect[0].left,m_rect[0].bottom,SRCCOPY);
ShowPic(dc, _T("//Storage Card//gps1.png"),m_rect[0]);
Sleep(2000);
InvalidateRect(m_rect[0]);
BitBlt(dc,m_rect[0].left,m_rect[0].bottom,115,84,dcMemory2,0,0,SRCCOPY);
InvalidateRect(m_rect[0]);
*/
dcMemory2.CreateCompatibleDC(&dc);//关联两个DC
hBitmap = CreateCompatibleBitmap(dc,115,84);//在缓冲中建立BITMAP
SelectObject(dcMemory2, hBitmap);
BitBlt(dcMemory2,0,0,115,84,dc,m_rect[0].left,m_rect[0].bottom,SRCCOPY);
ShowPic(dc, _T("//Storage Card//gps1.png"),m_rect[0]);
Sleep(2000);
InvalidateRect(m_rect[0]);
BitBlt(dc,m_rect[0].left,m_rect[0].bottom,115,84,dcMemory2,0,0,SRCCOPY);
InvalidateRect(m_rect[0]);
*/