HBITMAP hbitmap=LoadBitmap(AfxGetApp()->m_hInstance,MAKETRESOURCE(IDB_BITMAP1);
CRect rect;BITMAP bm;
GetObject (hbitmap, sizeof (BITMAP), &bm) ;
StretchBlt(m_hDC,m_bmpRect.left, m_bmpRect.top, m_bmpRect.Width()SelectObject(m_hMemDC,hOldBitmap);
DeleteObject(hbitmap);
DeleteObject(hbr);
DeleteDC(m_hMemDC);
::ReleaseDC(this->m_hWnd,m_hDC);