CCTestSelDrawPicDoc*pDoc=GetDocument();ASSERT_VALID(pDoc);CRectrect;GetClientRect(&rect);//得到客户区矩形HBITMAPhbitmap;CBitmapbmptemp;CPointpoint(200,50);MedeyTwoPic(pDC,&m_dcFore,&m_dcBk,&m_bmpFore,&m_bmpBk,point,rect);hbitmap=(HBITMAP)GetCurrentObject(m_dcBk.GetSafeHdc(),OBJ_BITMAP)