CImage img;
img.Load("c://小萝莉.jpg");
HDC hDC = pDC->GetSafeHdc();
CRect rect(0,0,img.Width(),img.Height());
img.DrawToHDC(hDC,&rect);
CSize viewSize;
viewSize.cx = img.Width();
viewSize.cy = img.Height();
SetScrollSizes(MM_TEXT,viewSize);
2009-06-12