CRect rc;
CDC* pDC = new CDC;
CDC MemDC;
pDC->CreateCompatibleDC(m_Picture.GetDC());//m_Picture为Picture控件变量
m_Picture.GetClientRect( &rc );

CPoint center( rc.Width() / 2, rc.Height() / 2 );
int oldMode = pDC->SetStretchBltMode( COLORONCOLOR );
double zoom;
zoom = 1.0;
zoom++;
pDC->StretchBlt( center.x - ( zoom * nWidth2 ) / 2, center.y - ( zoom * nHeight2 ) / 2, zoom * nWidth2, zoom * nHeight2, &MemDC, 0, 0, nWidth2, nHeight2, SRCCOPY ); // nWidth2/nHeight2为原图宽高.
imageTmp2.Draw(pDC->m_hDC, LeftShiftNum, UpShiftNum);
delete pDC; 我的目的是,放大后,在Picture控件中显示出来,但没有效果,不知道问题出在哪里